I need to combine 5 set of queries into one. I know this should work with UNION ALL in SQL, but don't know how to place it.
For e.g. the query names are query1, query2, query3, query4 and query5. Each of these queries have same set of field name, A, B & C and output may also goes similar...