CREATE TABLE table_name_37 (total INT, gymnast VARCHAR, position VARCHAR)

What is the total for Danny Pinheiro Rodrigues ( fra ), in a Position smaller than 7?
SELECT AVG(total) FROM table_name_37 WHERE gymnast = "danny pinheiro rodrigues ( fra )" AND position < 7
SELECT AVG("total") FROM "table_name_37" WHERE "danny pinheiro rodrigues ( fra )" = "gymnast" AND "position" < 7