CREATE TABLE "locomotives" (
  "no" real,
  "name" text,
  "livery" text,
  "locomotive_type" text,
  "wheel_arrangement" text,
  "builder" text,
  "year_built" real,
  "status" text
);

Question: How many locomotives have a name of City of Birmingham
SQL: SELECT COUNT("no") FROM "locomotives" WHERE "name"='City of Birmingham';

Question: How many locomotives have a livery that is highland railway green
SQL: SELECT COUNT("name") FROM "locomotives" WHERE "livery"='Highland Railway green';

Question: Which locomotive type has a status in static display
SQL: SELECT "locomotive_type" FROM "locomotives" WHERE "status"='Static display';