CREATE TABLE table_name_40 (points INT, team VARCHAR, rank VARCHAR)

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"