Table: indycar_race_stats
Columns: season
date
driver
team
chassis
engine
laps
miles_km
race_time
average_speed_mph
report

Question: When 2005 is the season how many drivers are there?
SQL: SELECT COUNT("driver") FROM indycar_race_stats WHERE "season" = '2005'

Question: When tony kanaan is the driver what is the average speed miles per hour?
SQL: SELECT "average_speed_mph" FROM indycar_race_stats WHERE "driver" = 'Tony Kanaan'

Question: When 169.182 is the average speed miles per hour what is the chassis?
SQL: SELECT "chassis" FROM indycar_race_stats WHERE "average_speed_mph" = '169.182'

Question: When 1:34:01 is the race time what is the miles in kilometers?
SQL: SELECT "miles_km" FROM indycar_race_stats WHERE "race_time" = '1:34:01'

Question: When 228 is the lap and chip ganassi racing is the team what is the race time?
SQL: SELECT "race_time" FROM indycar_race_stats WHERE "team" = 'Chip Ganassi Racing' AND "laps" = '228'