Table: molloy_1965_race_stats
Columns: year
class
team
points
rank
wins

Question: How many points did ginger have when she was ranked 5th on a 350cc class bike?
SQL: SELECT COUNT("points") FROM molloy_1965_race_stats WHERE "class" = '350cc' AND "rank" = '5th'

Question: What year was she ranked 16th with over 12 points?
SQL: SELECT COUNT("year") FROM molloy_1965_race_stats WHERE "rank" = '16th' AND "points" > 12

Question: What year was she on a 350cc class bike, ranked 16th, with over 0 wins?
SQL: SELECT SUM("year") FROM molloy_1965_race_stats WHERE "class" = '350cc' AND "rank" = '16th' AND "wins" > 0

Question: How many points did she have with team bultaco, ranked 6th?
SQL: SELECT SUM("points") FROM molloy_1965_race_stats WHERE "team" = 'bultaco' AND "rank" = '6th'