Forgive my ignorance, I am new to RDMS and SQL both.
My question is this:
I have 2 tables, one a primary table and 1 a relational table
table 1 has ten rows valued 1,2,3,4,5,6,7,8,9,10
table 2 has 4 rows keying from table 1
row1 = 1 2
row2 = 3 4
row3 = 5 6
row4 = 9 10
row 7 and 8 do not show up in table 2
how would I write a query to tell me that only row 7 and row 8
are not a from/to row in table 2??
I should only get 2 rows back.
Thanks for your help