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

Question: In 2012 what was the average finish?
SQL: SELECT "avg_finish" FROM "nascar_sprint_cup_series" WHERE "year"=2012;

Question: How many wins happened in 1983?
SQL: SELECT MIN("wins") FROM "nascar_sprint_cup_series" WHERE "year"=1983;

Question: How many top tens had an average start of 29.4?
SQL: SELECT COUNT("top_10") FROM "nascar_sprint_cup_series" WHERE "avg_start"='29.4';

Question: How many poles had an average finish of 19.1?
SQL: SELECT MAX("poles") FROM "nascar_sprint_cup_series" WHERE "avg_finish"='19.1';

Question: How many starts did Hendrick motorsports have?
SQL: SELECT MIN("starts") FROM "nascar_sprint_cup_series" WHERE "team_s"='Hendrick Motorsports';