CREATE TABLE table_name_60 (avg_g INT, name VARCHAR, gain VARCHAR)

Which Avg/G has a Name of david allen, and a Gain larger than 371?
SELECT AVG(avg_g) FROM table_name_60 WHERE name = "david allen" AND gain > 371
SELECT AVG("avg_g") FROM "table_name_60" WHERE "david allen" = "name" AND "gain" > 371