CREATE TABLE table_name_24 (long NUMBER, avg VARCHAR2, rec VARCHAR2)

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