CREATE TABLE "1966_season_finished_1st_54pts_out_of_19" (
  "rider" text,
  "matches" real,
  "rides" real,
  "bonus_pts" real,
  "total_points" real
);

Question: What was the average number of points with bonus pts less than 31 with the rider dennis gavros?
SQL: SELECT AVG("total_points") FROM "1966_season_finished_1st_54pts_out_of_19" WHERE "rider"='dennis gavros' AND "bonus_pts"<31;

Question: How many total matches involving dennis gavros had total points less than 167?
SQL: SELECT COUNT("matches") FROM "1966_season_finished_1st_54pts_out_of_19" WHERE "rider"='dennis gavros' AND "total_points"<167;

Question: What is the smallest number of matches with Bonus Pts of 19 and Total Points greater than 421?
SQL: SELECT MIN("matches") FROM "1966_season_finished_1st_54pts_out_of_19" WHERE "bonus_pts"=19 AND "total_points">421;