Proveďte GROUP BY
, použijte HAVING
vrátí task_id s pouze nulovými stavy.
select task_id
from tablename
group by task_id
having max(state) is null
Proveďte GROUP BY
, použijte HAVING
vrátí task_id s pouze nulovými stavy.
select task_id
from tablename
group by task_id
having max(state) is null