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