user: Question: What's the year with a score of 305?
Columns: ['Year', 'Country', 'Course', 'Location', 'Total score', 'To par [a ]']
Types: ['real', 'text', 'text', 'text', 'text', 'text']
Sample row: [1860.0, 'Scotland', 'Prestwick Golf Club', 'Prestwick , Scotland', '174', 'n/a']
SQL:

assistant: SELECT "Year" FROM "Table" WHERE "Total score" = '305';