CREATE TABLE "nascar_sprint_cup_series" (
  "year" real,
  "starts" real,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "poles" real,
  "avg_start" real,
  "avg_finish" real,
  "winnings" text,
  "position" text
);

Question: Which Top 10 is the lowest one that has Winnings of $405,300, and an Avg Start smaller than 30?
SQL: SELECT MIN("top_10") FROM "nascar_sprint_cup_series" WHERE "winnings"='$405,300' AND "avg_start"<30;

Question: How many Wins have a Top 5 smaller than 0?
SQL: SELECT SUM("wins") FROM "nascar_sprint_cup_series" WHERE "top_5"<0;

Question: Which Top 10 has a Top 5 larger than 1, and a Year of 2003, and Poles larger than 0?
SQL: SELECT AVG("top_10") FROM "nascar_sprint_cup_series" WHERE "top_5">1 AND "year"=2003 AND "poles">0;

Question: How many Top 10s have Wins larger than 0, and Poles larger than 0?
SQL: SELECT COUNT("top_10") FROM "nascar_sprint_cup_series" WHERE "wins">0 AND "poles">0;