What Year has a Result smaller than 20.31, and a World Rank of 5th?
CREATE TABLE table_name_64 (year INTEGER, result VARCHAR, world_rank VARCHAR)
SELECT AVG(year) FROM table_name_64 WHERE result < 20.31 AND world_rank = "5th"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (year INTEGER, result VARCHAR, world_rank VARCHAR) Question: What Year has a Result smaller than 20.31, and a World Rank of 5th? [/INST] SELECT AVG(year) FROM table_name_64 WHERE result < 20.31 AND world_rank = "5th" </s>