CREATE TABLE "hebburn_line_locomotives" (
  "locomotive" text,
  "type" text,
  "builder" text,
  "builder_s_no" text,
  "built" real,
  "entered_service" real,
  "withdrawn" real
);

Question: What is the Builder of Locomotive 2?
SQL: SELECT "builder" FROM "hebburn_line_locomotives" WHERE "locomotive"='2';

Question: With a Type of 4-6-4t, what is the sum Withdrawn?
SQL: SELECT SUM("withdrawn") FROM "hebburn_line_locomotives" WHERE "type"='4-6-4t';