CREATE TABLE table_name_30 (year NUMBER, points VARCHAR2, wins VARCHAR2, team VARCHAR2)

What is the average year that has a win less than 1, yamaha as the team, with points greater than 2?
SELECT AVG(year) FROM table_name_30 WHERE wins < 1 AND team = "yamaha" AND points > 2
SELECT AVG("year") FROM "table_name_30" WHERE "points" > 2 AND "team" = "yamaha" AND "wins" < 1