SELECT count(DISTINCT driverId) FROM results WHERE raceId NOT IN( SELECT raceId FROM races WHERE YEAR != 2009 )
How many drivers did not race in 2009?
SELECT count ( DISTINCT driverId ) FROM results WHERE raceId NOT IN ( SELECT raceId FROM races WHERE YEAR ! = 2009 )
select count ( distinct driverid ) from results where raceid not in ( select raceid from races where year ! = value )
How many drivers did not race in 2009 ?