CREATE TABLE table_name_40 (points NUMBER, played NUMBER)

What is the sum of all points when number played is less than 18?
SELECT SUM(points) FROM table_name_40 WHERE played < 18
SELECT SUM("points") FROM "table_name_40" WHERE "played" < 18