I have a table containing a unique ID field. Another field (REF) contains a link to another data set ID field. Now I need to select all datasets where REF points to a dataset that does not exist.
SELECT * FROM table WHERE ("no dataset with ID=REF exists")
How can i do this?
sql
Holgerwa Apr 17 '09 at 15:42 2009-04-17 15:42
source share