I have two tables in my database and they each share the a field called cID. So here's an example:
Parent Table
_______________
cID Name
-- ------
1 Record #1
2 Record #2
3 Record #3
Child Table
_______________
ID cID Name
-- --- -----
10 1 Record #1
11 1 Record #2
12 2 Record #3
13 1 Record #4
So what's happened is that someone has gone in and deleted cIDs from the parent the parent table and the child table still has those cIDs but they now reference nothing. Is there a SQL statement that I could use to select all the records in the child table that no longer have a cID in the parent table?