Table: race_results_6
Columns: year
date
driver
team
manufacturer
laps
miles_km
race_time
average_speed_mph
report

Question: What teams drive cars manufactured by Toyota?
SQL: SELECT "team" FROM race_results_6 WHERE "manufacturer" = 'Toyota'

Question: What is Jon Thorne's average speed?
SQL: SELECT "average_speed_mph" FROM race_results_6 WHERE "team" = 'Jon Thorne'

Question: What day did the race in 1974 take place on?
SQL: SELECT "date" FROM race_results_6 WHERE "year" = 1974

Question: What is Tony Stewart's average speed?
SQL: SELECT "average_speed_mph" FROM race_results_6 WHERE "driver" = 'Tony Stewart'

Question: What year was the average speed 145.24
SQL: SELECT MAX("year") FROM race_results_6 WHERE "average_speed_mph" = '145.24'