Pregunta de entrevista de Fiserv

sql query to select 2 columns from 2 tables and select only unique columns then compare them