I have 2 tables with addresses: t1 and t2. I need a selection of all addresses in table t1 except all addresses that are already in table t2.
I can compare the addresses by the postcode and housenumber fields.
I can get a selection of all adresses that are in both tables;
SELECT * FROM t1,t2
WHERE t1.Postcode = t2.pc
AND t1.Huisnummer = t2.nummer;
but how do I make a selection of all adresses in t1 except the once that I get listed with the SQL above?
Thanks