Which Avg/G has a Name of david allen, and a Gain larger than 371?
CREATE TABLE table_name_60 (avg_g INTEGER, name VARCHAR, gain VARCHAR)
SELECT AVG(avg_g) FROM table_name_60 WHERE name = "david allen" AND gain > 371
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (avg_g INTEGER, name VARCHAR, gain VARCHAR) Question: Which Avg/G has a Name of david allen, and a Gain larger than 371? [/INST] SELECT AVG(avg_g) FROM table_name_60 WHERE name = "david allen" AND gain > 371 </s>