CREATE TABLE table_name_60 (avg_g NUMBER, name VARCHAR2, gain VARCHAR2)

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