Connecting Tech Pros Worldwide Forums | Help | Site Map

Compare multiple result sets

Newbie
 
Join Date: Aug 2009
Posts: 1
#1: Aug 7 '09
How to compare multiple result sets with a set of values? Here is the scenario..

My query returns me multiple results(one column of data) and I want compare all the data at once with a set of data. For example my query returns 1,2,3 and I want compare the result set with (1,3), can I do that using a query with out using stored procedures? Obviously using the in clause isn't working(i.e., (1,2,3) in (1,3)), any other alternative.

Thanks,

Reply