PostgreSQL - Common Table Expressions
Consider this query:
How many rows will the query return?
WITH cte AS NOT MATERIALIZED (SELECT generate_series(1,2) AS num) SELECT num FROM cte, generate_series(1,3) AS gs(n);
How many rows will the query return?
