CREATE TABLE table_name_45 (played NUMBER, points VARCHAR2, position VARCHAR2)

What is the mean number of played when there are less than 18 points and the position is less than 8?
SELECT AVG(played) FROM table_name_45 WHERE points < 18 AND position < 8
SELECT AVG("played") FROM "table_name_45" WHERE "points" < 18 AND "position" < 8