Haz un GROUP BY
, utilice HAVING
para devolver task_id con solo estados nulos.
select task_id
from tablename
group by task_id
having max(state) is null
Haz un GROUP BY
, utilice HAVING
para devolver task_id con solo estados nulos.
select task_id
from tablename
group by task_id
having max(state) is null