SQL SELECT où Id n'existe pas dans un autre tableau

where ID not in(select ID from T2 where HISTORY_FLG!=1)
Graceful Grouse