SELECT ID,NAME FROM table1 a WHERE NOT EXISTS (SELECT 0 FROM table2 b WHERE a.ID=b.ID AND a.NAME=b.NAME)
JP On Wednesday 26 June 2002 15:13, you wrote: > Hallo, > > anyone whom can give me an example on how to pick out field id and name > from table one and get only the id's that exists in table one doesnt exist > in table2. > > Thanks in advance > > Roland -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Jan Pruner INET: [EMAIL PROTECTED] Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (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).