human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Name, Street address, Years as tallest, Height feet / m, Floors
###Question: How many years was the building with 24 floors the tallest?
gpt
SELECT Years as tallest FROM table WHERE Floors = 24