CREATE TABLE table_name_20 (points INT, lost VARCHAR, position VARCHAR, played VARCHAR)

How many points on average had a position smaller than 8, 16 plays, and a lost larger than 9?
SELECT AVG(points) FROM table_name_20 WHERE position < 8 AND played = 16 AND lost > 9
SELECT AVG("points") FROM "table_name_20" WHERE "lost" > 9 AND "played" = 16 AND "position" < 8