Table: race_results_112
Columns: year
class
team
points
wins

Question: What is the earliest year with fewer than 5 wins and 89 points?
SQL: SELECT MIN("year") FROM race_results_112 WHERE "wins" < 5 AND "points" = 89

Question: When is the most recent year with more than 27 points and more than 5 wins?
SQL: SELECT MAX("year") FROM race_results_112 WHERE "points" > 27 AND "wins" > 5

Question: What are the sum of points in 1989 with 0 wins?
SQL: SELECT SUM("points") FROM race_results_112 WHERE "wins" = 0 AND "year" = 1989

Question: Which class has fewer than 89 points and the Honda team later than 1987?
SQL: SELECT "class" FROM race_results_112 WHERE "points" < 89 AND "team" = 'honda' AND "year" > 1987

Question: How many points are there later than 1992?
SQL: SELECT COUNT("points") FROM race_results_112 WHERE "year" > 1992