Table: gyula_marsovszky_racing_stats
Columns: year
class
team
points
wins

Question: What is the average wins in 250cc class for Bultaco with 8 points later than 1966?
SQL: SELECT AVG("wins") FROM gyula_marsovszky_racing_stats WHERE "class" = '250cc' AND "team" = 'bultaco' AND "year" > 1966 AND "points" = 8

Question: Which class corresponds to more than 2 points, wins greater than 0, and a year earlier than 1973?
SQL: SELECT "class" FROM gyula_marsovszky_racing_stats WHERE "points" > 2 AND "year" < 1973 AND "wins" > 0

Question: What is the sum of all points in 1975 with 0 wins?
SQL: SELECT SUM("points") FROM gyula_marsovszky_racing_stats WHERE "year" = 1975 AND "wins" < 0