So, hab es jetzt so gemacht und es scheint auch zu funktionieren:
$sql = 'SELECT
`UserId`,
count(eintrag) as count
FROM
`DB`
WHERE
`eintrag` = 0
GROUP BY
`UserId`
ORDER BY
`count` desc
LIMIT
1';
Mfg
Simon