Rick Root wrote:
> Bryan Stevenson wrote:
>> sub-queries can only return one record....thus the error
> 
> Actually Bryan, that's not true.  Sub-queries can only return one column.

They can return more then one column too:

SELECT * FROM table
WHERE (x, y) IN (SELECT a, b FROM otherTable)

Jochem

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240498
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to