Table: dukes_stats_2
Columns: rider
matches
rides
bonus_pts
total_points

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 dukes_stats_2 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 dukes_stats_2 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 dukes_stats_2 WHERE "bonus_pts" = 19 AND "total_points" > 421