Table: richie_stanaway_2007
Columns: season
series
races
wins
poles
f_laps
podiums
points
position

Question: What is the lowest Wins, when Season is 2011, when Podiums is 1, and when Poles is less than 0?
SQL: SELECT MIN("wins") FROM richie_stanaway_2007 WHERE "season" = '2011' AND "podiums" = 1 AND "poles" < 0

Question: What is Position, when Points is greater than 7, and when Series is Toyota Racing Series?
SQL: SELECT "position" FROM richie_stanaway_2007 WHERE "points" > 7 AND "series" = 'toyota racing series'

Question: What is the sum of Races, when Series is Toyota Racing Series, and when Podiums is greater than 3?
SQL: SELECT SUM("races") FROM richie_stanaway_2007 WHERE "series" = 'toyota racing series' AND "podiums" > 3

Question: What is the average Podiums, when Wins is greater than 1, when Races is 2, and when Points is greater than 150?
SQL: SELECT AVG("podiums") FROM richie_stanaway_2007 WHERE "wins" > 1 AND "races" = 2 AND "points" > 150

Question: What is the total number of Poles, when Position is 6th, and when Points is less than 164?
SQL: SELECT COUNT("poles") FROM richie_stanaway_2007 WHERE "position" = '6th' AND "points" < 164