Table: motorcycle_stats
Columns: year
class
team
points
wins

Question: When is the earliest year associated with team norton and 0 wins?
SQL: SELECT MIN("year") FROM motorcycle_stats WHERE "team" = 'norton' AND "wins" < 0

Question: What is the year that there were 0 wins, team AJS, and under 12 points?
SQL: SELECT COUNT("year") FROM motorcycle_stats WHERE "wins" = 0 AND "team" = 'ajs' AND "points" < 12