I am issuing a single SQL query consisting of multiple SELECTs grouped using UNION:
SELECT * FROM employee LEFT JOIN department ON emplo
Using UNION will remove any duplicate records that may be returned from either of the unioned queries, so not exactly atomic. Use UNION ALL if you want all records from all unioned queries. UNION ALL can be much faster that UNION also.
UNION
UNION ALL