Table: race_results_77
Columns: year
team
chassis
engine
points

Question: What is the average Points for a year before 1955?
SQL: SELECT AVG("points") FROM race_results_77 WHERE "year" < 1955

Question: What is the total year with a Team of scuderia ferrari, an Engine of ferrari 106 2.5 l4, and more than 12 points?
SQL: SELECT SUM("year") FROM race_results_77 WHERE "team" = 'scuderia ferrari' AND "engine" = 'ferrari 106 2.5 l4' AND "points" > 12