Name the sum of long for avg less than 6 and rec less than 2
CREATE TABLE table_name_24 (long INTEGER, avg VARCHAR, rec VARCHAR)
SELECT SUM(long) FROM table_name_24 WHERE avg < 6 AND rec < 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (long INTEGER, avg VARCHAR, rec VARCHAR) Question: Name the sum of long for avg less than 6 and rec less than 2 [/INST] SELECT SUM(long) FROM table_name_24 WHERE avg < 6 AND rec < 2 </s>