Abaixo está uma instrução que descreve uma tarefa de geração de SQL, combinada com uma entrada que fornece mais contexto sobre os esquemas de tabela disponíveis. Escreva o código SQL que responda adequadamente à solicitação
 ###Instrução: qual é o número mais alto em que as pessoas terminaram em 31.1
 ###Tabelas: CREATE TABLE the_ships (the_ships_id AUTO_INCREMENT PRIMARY KEY, Ship VARCHAR, Tonnage VARCHAR, Builder VARCHAR, Original Operator VARCHAR, Fate VARCHAR) CREATE TABLE wisconsin_counties_ranked_by_per_capita_income (wisconsin_counties_ranked_by_per_capita_income_id AUTO_INCREMENT PRIMARY KEY, County VARCHAR, Per capita income VARCHAR, Median household income VARCHAR, Median family income VARCHAR, Population INT, Number of households INT) CREATE TABLE michigan_counties_by_per_capita_income (michigan_counties_by_per_capita_income_id AUTO_INCREMENT PRIMARY KEY, County VARCHAR, Per capita income VARCHAR, Median household income VARCHAR, Median family income VARCHAR, Population INT, Number of households INT) CREATE TABLE average_chart (average_chart_id AUTO_INCREMENT PRIMARY KEY, Rank by average INT, Competition finish INT, Couple VARCHAR, Total INT, Number of dances INT, Average VARCHAR) CREATE TABLE esiliiga (esiliiga_id AUTO_INCREMENT PRIMARY KEY, Club VARCHAR, 2012 VARCHAR, Seasons in Esiliiga INT, Current run since INT, Titles INT, Last title VARCHAR)  
SELECT MAX Competition finish FROM average_chart WHERE Average = 31.1