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

Question: Before 2007, what was the avg start that had a pole of 0 and in 65th position?
SQL: SELECT AVG("starts") FROM mike_skinner_racing_stats WHERE "poles" = 0 AND "position" = '65th' AND "year" < 2007

Question: How many starts had an avg start of less than 37 and won $1,636,827?
SQL: SELECT SUM("starts") FROM mike_skinner_racing_stats WHERE "winnings" = '$1,636,827' AND "avg_start" < 37

Question: in 1990, how many wins had an avg finish of 35 and a start less than 1?
SQL: SELECT MAX("wins") FROM mike_skinner_racing_stats WHERE "avg_finish" = 35 AND "year" = 1990 AND "starts" < 1

Question: What year had a pole smaller than 0 and in 77th position?
SQL: SELECT MAX("year") FROM mike_skinner_racing_stats WHERE "position" = '77th' AND "poles" < 0

Question: in 2007, what is the avg finish that had a start less than 1?
SQL: SELECT SUM("avg_finish") FROM mike_skinner_racing_stats WHERE "year" = 2007 AND "starts" < 1