This query will probably suck performance wise but it may do the trick.SELECT a.col001, a.col002FROM (SELECT Table1.col001 AS col001, Table1.col002 FROM Table1 UNION SELECT Table2.col001 AS col001, Table2.col002 FROM Table2 UNION SELECT Table3.col001 AS col001, Table3.col002 FROM Table3) a LEFT OUTER JOIN Table1 ON (a.col001 = Table1.col001 AND a.col002 = Table1.col002) LEFT OUTER JOIN Table2 ON (a.col001 = Table2.col001 AND a.col002 = Table2.col002) LEFT OUTER JOIN Table3 ON (a.col001 = Table3.col001 AND a.col002 = Table3.col001)WHERE Table1.col001 IS NULL OR Table2.col001 IS NULL OR Table3.col001 IS NULL
You should normalize your design and make 1 table and add an additional type column to it. If you do this then you can get take your 3 tables and move it into the single table.Dustin Michaels