Sometimes Cross join not return any rows if one of tables doesn't has any row
for example
WITH q1 AS ( SELECT 1 AS V1 WHERE 0 <> 0 ), q2 AS ( SELECT 2 AS V2 ) SELECT * FROM q1 , q2 I expect this query will return one row V1 = null and V2 = 2 but it returns no rows
Is there any explanation?