Fai un GROUP BY
, usa HAVING
per restituire task_id con solo stati nulli.
select task_id
from tablename
group by task_id
having max(state) is null
Fai un GROUP BY
, usa HAVING
per restituire task_id con solo stati nulli.
select task_id
from tablename
group by task_id
having max(state) is null