CREATE TABLE table_name_51 (year VARCHAR, finish VARCHAR, chassis VARCHAR, team VARCHAR)

What year did Team of Andretti Green Racing have a finish smaller than 8 with a Dallara chassis?
SELECT year FROM table_name_51 WHERE chassis = "dallara" AND team = "andretti green racing" AND finish < 8
SELECT "year" FROM "table_name_51" WHERE "andretti green racing" = "team" AND "chassis" = "dallara" AND "finish" < 8