human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: School, Winners, Finalists, Total Finals, Year of last win
###Question: In what year was the total finals at 10?
gpt
SELECT Year of last win FROM table WHERE Total Finals = 10