Thread: Does Not Exist?
View Single Post
  #1 (permalink)  
Old 09-28-2006, 02:20 AM
self-taught self-taught is offline
Junior Member
 
Join Date: Sep 2006
Posts: 1
self-taught is on a distinguished road
Default Oracle dialect question:

Does Not Exist?


Table cp has primary key cp.id. In Table su, su.pid is a foreign key pointing to cp.id. However, not every record in table cp necessarily has an entry in table su. That is what I am looking for-all records in cp that don't have an entry in table su. Can somebody help me with the sql for this requirement?
Thanks
Reply With Quote

ANSWER(S):