Postgresql – Why does the outer query return nothing if second subquery returns no results?
I'm trying to figure out why the outer query returns nothing if the second sub query has no return value even if the first does? SELECT * FROM ( SELECT category_id FROM story_category WHERE story_category.story_id = 9998 ) AS c,…