Which Avg/G has a Gain of 1,839?
CREATE TABLE table_name_93 (avg_g INTEGER, gain VARCHAR)
SELECT SUM(avg_g) FROM table_name_93 WHERE gain = 1 OFFSET 839 ROWS
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (avg_g INTEGER, gain VARCHAR) Question: Which Avg/G has a Gain of 1,839? [/INST] SELECT SUM(avg_g) FROM table_name_93 WHERE gain = 1 OFFSET 839 ROWS </s>