Hi all,
I was wondering what the best SQL code is to find all records in table_A where they do not exist is Table_B
I use
select a.* from Table_A a left outer join Table_b b
on a.ID = b.ID
where b.ID is null
Is the the most efficient way to do this or is there better codsde for this?
Thanks.
I was wondering what the best SQL code is to find all records in table_A where they do not exist is Table_B
I use
select a.* from Table_A a left outer join Table_b b
on a.ID = b.ID
where b.ID is null
Is the the most efficient way to do this or is there better codsde for this?
Thanks.