What is the total average for Rank entries where the Lane listed is smaller than 4 and the Nationality listed is San Marino?
CREATE TABLE table_name_7 (rank INTEGER, lane VARCHAR, nationality VARCHAR)
SELECT AVG(rank) FROM table_name_7 WHERE lane < 4 AND nationality = "san marino"
<s>[INST] Write mssql query to answer the following question given the database schema. 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? [/INST] SELECT AVG(rank) FROM table_name_7 WHERE lane < 4 AND nationality = "san marino" </s>