Answers for "select from table where id not in another table"

SQL
1

select from one table where not on the other

SELECT id FROM a.table
WHERE id NOT IN (SELECT b.id FROM b.id)
Posted by: Guest on November-17-2020
1

sql select where id not exists in another table

where ID not in(select ID from T2 where HISTORY_FLG!=1)
Posted by: Guest on May-20-2020

Code answers related to "select from table where id not in another table"

Code answers related to "SQL"

Browse Popular Code Answers by Language