Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
In what Year is the Works No. 2040-2049?

### Inputs:
table_name: table, columns: ['Gauge', 'Railway', 'Works no.', 'Year', 'Builder']

### Response:
SELECT Year FROM table WHERE Works no. = 2040-2049