Table: driver_stats_7
Columns: year
starts
wins
top_5
top_10
poles
avg_start
avg_finish
winnings
position

Question: What is the average number of wins of the year with less than 5 top 10s, a winning of $39,190 and less than 2 starts?
SQL: SELECT AVG("wins") FROM driver_stats_7 WHERE "top_10" < 5 AND "winnings" = '$39,190' AND "starts" < 2

Question: What is the highest number of poles of the year before 1992 with more than 18 starts and winnings of $125,102?
SQL: SELECT MAX("poles") FROM driver_stats_7 WHERE "starts" > 18 AND "winnings" = '$125,102' AND "year" < 1992