I want to select all the rows from table1 that have keys that are not listed in a field in table2.
In it's simplist form:
Table 1 is a list of Books.
Table 2 is a list of Book IDs and Subject IDs
I want to select all the books that don't have a subject, the simplest way I can tell of doing this is to list all the Titles in table 1 who's keys are not mention in the book id column of table 2.
I am pretty sure the SQL here is fairly standard, just never come across this before.
If it helps I am using Oracle 8i (sorry not my choice).
TIA
Matt.