PDA

View Full Version : SQL Server Query subquery


NYCProgrammer
06-15-2010, 02:12 PM
Hi, how do you include the results of a query in another query? I know that you refer to a table by typing dbo.Tablename.Fieldname, but how about another query? Where do you store the query?

Brandoe85
06-15-2010, 04:12 PM
Do you have an example of what you're trying to do? Maybe it's a sub query, maybe it's a union, maybe a join...