I have a query like this:
Select * from
(Select a, b, c from table1 where some condition) as Result1,
(Select d, e from table2 where some another condition) as Result2
everything is OK until one of the nested selects returns nothing, then another select returns nothing too in finally select.
please tell me what is wrong with me?
full outer joinbetween your two resultsets, rather than a Cartesian product.