CREATE TABLE table_name_38 (scored INT, points VARCHAR, position VARCHAR)

How many points are in the scored category for the team that has 8 total points and a position that is less than 10?
SELECT SUM(scored) FROM table_name_38 WHERE points = 8 AND position < 10
SELECT SUM("scored") FROM "table_name_38" WHERE "points" = 8 AND "position" < 10