I have two queries : Queries Simplified excluding Joins
Query 1 : select ProductName,NumberofProducts (in inventory) from Table1.....;
Query 2 : select ProductName, NumberofProductssold from Table2......;
I would like to know how I can get an output as :
ProductName NumberofProducts(in inventory) ProductName NumberofProductsSold
The relationships used for getting the outputs for each query are different. I need the output this way for my SSRS report .
(I tried the union statement but it doesnt work for the output I want to see. )
question from:https://stackoverflow.com/questions/15230350/how-to-combine-results-of-two-queries-into-a-single-dataset