codice:
select *
from tab2
left join tab1 on tab1.crea_by_id = tab2.id
where tab1.crea_by_id IS NULL
and tab2.blok = 0