SCHEMA:
CREATE TABLE table_name_24 (long INTEGER, avg VARCHAR, rec VARCHAR)
User Question:
Name the sum of long for avg less than 6 and rec less than 2


SELECT SUM(long) FROM table_name_24 WHERE avg < 6 AND rec < 2