human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Entered [A ], Weeks in top 10, Single, Artist, Peak, Peak reached [A ], Weeks at peak
###Question: if the peak is 9, how many weeks was it in the top 10?
gpt
SELECT MAX Weeks in top 10 FROM table WHERE Peak = 9