human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Year, Chart, Track, Peak, Weeks on Chart
###Question: Name the least weeks for year less than 2000
gpt
SELECT MIN Weeks on Chart FROM table WHERE Year < 2000