Table: ian_ashley_race_data
Columns: year
entrant
chassis
engine
pts

Question: What is the latest year that has an engine of cosworth v8, with a chassis of hesketh 308e?
SQL: SELECT MAX("year") FROM ian_ashley_race_data WHERE "engine" = 'cosworth v8' AND "chassis" = 'hesketh 308e'

Question: Which year has brm v12 as the engine?
SQL: SELECT "year" FROM ian_ashley_race_data WHERE "engine" = 'brm v12'

Question: What is the latesr year that has more points than 0?
SQL: SELECT MAX("year") FROM ian_ashley_race_data WHERE "pts" > 0