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

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