select from table1 notexistjoin table2 where table1.field1 == table2.field1 && table1.RecId != table2.RecId