Non riesco a fare una select in mysql :

Ho due tabelle TAB_A e TAB_B dovrei fare una select anidata credo:

TAB_A
-----------
- ID_A
- CAMPO_A
-----------


TAB_B
-----------
- ID_A
- CAMPO_B
-----------

dove TAB_A.ID_A=TAB_B.ID_A
La mia select deve prendere tutti i record di TAB_A escludendo quelli presenti in TAB_B con il valore CAMPO_B=1

Come posso farla?

Ho provato a fare

select * from TBL_A where ID_A not in (select ID_A FROM TBL_B where CAMPO_B=1)
ma mi dice che c'è un errore vicino a " (select ID_A FROM TBL_B where CAMPO_B=1)".
come posso risolvere il problema?

Grazie