For each id of a driver who participated in at most 30 races, how many races did they participate in?
SELECT T1.driverid ,  count(*) FROM drivers AS T1 JOIN results AS T2 ON T1.driverid = T2.driverid JOIN races AS T3 ON T2.raceid = T3.raceid GROUP BY T1.driverid HAVING count(*)  <=  30
En fazla 30 yarışa katılan bir sürücünün her kimliği için kaç yarışa katıldılar?