human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Years tallest, Name, Height ft / m, Floors, Year completed
###Question: What year was the building completed that has 10 floors?
gpt
SELECT AVG Year completed FROM table WHERE Floors = 10