SyntaxFix
Write A Post
Hire A Developer
Questions
why dont you add a "source" column to each of the queries with a static value like
select 'source 1' as Source, column1, column2... from table1 UNION ALL select 'source 2' as Source, column1, column2... from table2