SELECT TOP 1 COUNT(ID_JOB) FROM YOURTABLE GROUP BY ID_JOB ORDER BY COUNT(ID_JOB) DESC
SELECT ID, COUNT(ID)...GROUP BY ID
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)