Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: "Not in" subquery
insead of using not in use not exists.... this is alot faster....
SELECT . . .
FROM emp E
WHERE NOT EXISTS ( SELECT X'
FROM dept WHERE dept_no = E.dept_no AND dept_cat = 'A' );Received on Wed Jun 06 2007 - 17:07:05 CDT