CREATE TABLE table_name_24 (long INT, avg VARCHAR, rec VARCHAR)

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
SELECT SUM("long") FROM "table_name_24" WHERE "avg" < 6 AND "rec" < 2