user: Question: What year weas John McEnroe the champion?
Columns: ['Location', 'Year', 'Champion', 'Runner-up', 'Score']
Types: ['text', 'real', 'text', 'text', 'text']
Sample row: ['Myrtle Beach', 1976.0, 'Ilie Năstase', 'Manuel Orantes', '6–4, 6–3']
SQL:

assistant: SELECT "Year" FROM "Table" WHERE "Champion" = 'John McEnroe';