CREATE TABLE table_name_32 (whenbuilt VARCHAR2, name VARCHAR2)

When was moray firth built?
SELECT whenbuilt FROM table_name_32 WHERE name = "moray firth"
SELECT "whenbuilt" FROM "table_name_32" WHERE "moray firth" = "name"