I have 2 tables: #tmptable1
and #tmptable2
. These tables have an ID to uniquely identify each record.
I want to return all records from table 1, but I only want to return the records from table 2 that aren't in table 1
I want this done in 1 query.
Thanks!