CREATE TABLE table_name_40 (points NUMBER, team VARCHAR2, rank VARCHAR2)

How many points did she have with team bultaco, ranked 6th?
SELECT SUM(points) FROM table_name_40 WHERE team = "bultaco" AND rank = "6th"
SELECT SUM("points") FROM "table_name_40" WHERE "6th" = "rank" AND "bultaco" = "team"