skip to Main Content

Recursive CTE in Postgresql

When I run this request I get an error recursive query "cte_0" column 1 has type date in non-recursive term but type timestamp without time zone overall LINE 4: select min(to_char(date_trunc('month', day), 'yyyy-mm-d... ^ HINT: Cast the output of the…

VIEW QUESTION

Loading nested JSON

Trying to load a nested JSON file into Duckdb. Here is the JSON contents: { "MainLevel":[ { "More":{ } }, { "More":{ "Level2":[ { "Field1":"A" } ] } } ] } This is the Duckdb SQL script I am using…

VIEW QUESTION
Back To Top
Search