You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') GROUP BY id_domain' at line 6


SELECT
COUNT(id) AS total, id_domain
FROM
jobs_domains
WHERE
id_job IN () GROUP BY id_domain




;