Can you show with an example what you mean? Perhaps one of these?--- gives you list of names that are in TABLEA but not in -- TABLEB. You can swap TABLEA and TABLEB to find those -- that are in TABLEB, but not in TABLEA.SELECT name FROM TABLEAEXCEPT SELECT name FROM TableB;-- gives you the list of names that are in both tables.SELECT name FROM TABLEAINTERSECTSELECT name FROM TABLEB;-- gives you list of names from both table, but only once-- if the name is in both tables.SELECT name FROM TABLEAUNION SELECT name FROM TABLEB;