Hey all!
Is there a way to get the results of a query and then stick them in with the results of another query using only SQL?
For example, I have the following query:
Code:
SELECT [PartID], [PartDesc] FROM PartMasterOTHER
And this Query:
Code:
SELECT [PartID], [PartDesc] FROM PartMasterGLASS
Now let's say that Query A (PartMasterOTHER) returns this:
Code:
PartID|PartDesc
T101|Terminator!
T800|Sneeky Terminator!
T9000|Liquid Terminator!
TX|HAWT Terminator!
And Query B (PartMasterGLASS) returns this:
Code:
PartID|PartDesc
001|3mm Clear Glass
002|4mm Clear Glass
003|5mm Clear Glass
How can I get the result:
Code:
PartID|PartDesc
001|3mm Clear Glass
002|4mm Clear Glass
003|5mm Clear Glass
T101|Terminator!
T800|Sneeky Terminator!
T9000|Liquid Terminator!
TX|HAWT Terminator!
Note that I'm NOT looking for the Cartesian product.