Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Silly SQL Question
I have a table with like this:
Usr val
select distinct usr
from xxx
where val = All (1,3,5)
I was trying the ALL operator but it works with part of the list, I need the user that has (exactly) all the values in the list. Any idea?
Maybe it's a simple solution, but after several hours I feel blocked.
TIA
Gabriel
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Thu Nov 13 2003 - 16:04:33 CST