CREATE TABLE table_name_99 (date VARCHAR, works_number VARCHAR)

On what Date was the Works Number 12?
SELECT date FROM table_name_99 WHERE works_number = "12"
SELECT "date" FROM "table_name_99" WHERE "12" = "works_number"