I have two queries that I have to fulfill, I can join them, but their resulting tables have the same structure.
For example, I have
select * from products where producttype=magazine select * from products where producttype = book
I need to combine the result of these two queries and then output it as a single result. I have to do this in a stored procedure.
PS These are just the examples that I presented, I have a complex table structure. Most importantly, I canβt join them.
sql sql-server sql-server-2008
tHeSiD
source share