CREATE TABLE table_name_80 (year VARCHAR, works_no VARCHAR)

In what Year is the Works No. 2040-2049?
SELECT year FROM table_name_80 WHERE works_no = "2040-2049"
SELECT "year" FROM "table_name_80" WHERE "2040-2049" = "works_no"