Table: dempsey_wilson_race_stats
Columns: year
start
qual
rank
finish
laps

Question: The qual of totals took place during what year?
SQL: SELECT "year" FROM dempsey_wilson_race_stats WHERE "qual" = 'totals'

Question: What year did the finish of 15 happen in?
SQL: SELECT "year" FROM dempsey_wilson_race_stats WHERE "finish" = '15'

Question: What's the Finish rank of 31?
SQL: SELECT "finish" FROM dempsey_wilson_race_stats WHERE "rank" = '31'

Question: What year did the rank of 31 happen in?
SQL: SELECT "year" FROM dempsey_wilson_race_stats WHERE "rank" = '31'