user: Question: Name the year for Hercules
Columns: ['Class', 'Wheel arrangement', 'Manufacturer', 'Year made', 'Quantity made', 'Quantity preserved', 'Year(s) withdrawn']
Types: ['text', 'text', 'text', 'text', 'text', 'text', 'text']
Sample row: ['Joseph Hamilton Beattie (1850–1871)', 'Joseph Hamilton Beattie (1850–1871)', 'Joseph Hamilton Beattie (1850–1871)', 'Joseph Hamilton Beattie (1850–1871)', 'Joseph Hamilton Beattie (1850–1871)', 'Joseph Hamilton Beattie (1850–1871)', 'Joseph Hamilton Beattie (1850–1871)']
SQL:

assistant: SELECT "Year made" FROM "Table" WHERE "Class" = 'Hercules';