Table: britannia_locomotives
Columns: br_no
name
builder
whenbuilt
withdrawn

Question: When was moray firth built?
SQL: SELECT "whenbuilt" FROM britannia_locomotives WHERE "name" = 'moray firth'

Question: Name the withdrawn for charles dickens
SQL: SELECT "withdrawn" FROM britannia_locomotives WHERE "name" = 'charles dickens'