Table schema:
CREATE TABLE table_name_7 (rank INTEGER, lane VARCHAR, nationality VARCHAR)

Question: What is the total average for Rank entries where the Lane listed is smaller than 4 and the Nationality listed is San Marino?
SQL: SELECT AVG(rank) FROM table_name_7 WHERE lane < 4 AND nationality = "san marino"