Table: peter_williams_motorcycle_stats
Columns: year
class
team
points
wins

Question: Wins smaller than 0 had what sum of year?
SQL: SELECT SUM("year") FROM peter_williams_motorcycle_stats WHERE "wins" < 0

Question: Class of 125cc, and a Year smaller than 1966 had what lowest wins?
SQL: SELECT MIN("wins") FROM peter_williams_motorcycle_stats WHERE "class" = '125cc' AND "year" < 1966

Question: Class of 500cc, and a Wins smaller than 0 had what average year?
SQL: SELECT AVG("year") FROM peter_williams_motorcycle_stats WHERE "class" = '500cc' AND "wins" < 0