depends on whether each query will produce unique results using UNION ALL, you better save server trips, and you can sort the result after the join. eg,
select column1 alias1, column2 alias2, from table x where ... UNION ALL select column3 alias1, column2 alias2 from table y where ... ... order by 1
Sorry my english
source share