CREATE TABLE table_name_18 (date VARCHAR, works_number VARCHAR)

On what Date was the Works Number 7?
SELECT date FROM table_name_18 WHERE works_number = "7"
SELECT "date" FROM "table_name_18" WHERE "7" = "works_number"