CREATE TABLE "sligo_leitrim_and_northern_counties_rail" (
  "class" text,
  "type" text,
  "names" text,
  "quantity_made" text,
  "manufacturer" text,
  "date_made" text
);

Question: What is the date of the locomotive with a Waterford class?
SQL: SELECT "date_made" FROM "sligo_leitrim_and_northern_counties_rail" WHERE "class"='waterford';

Question: What is the date of the locomotive named Blacklion Glencar?
SQL: SELECT "date_made" FROM "sligo_leitrim_and_northern_counties_rail" WHERE "names"='blacklion glencar';

Question: What is the quantity made of the locomotive with a Waterford class?
SQL: SELECT "quantity_made" FROM "sligo_leitrim_and_northern_counties_rail" WHERE "class"='waterford';

Question: What is the class of the locomotive with a quantity made of 1 and a 0-6-0t type?
SQL: SELECT "class" FROM "sligo_leitrim_and_northern_counties_rail" WHERE "quantity_made"='1' AND "type"='0-6-0t';

Question: What is the class of the locomotive with a 0-4-0st type?
SQL: SELECT "class" FROM "sligo_leitrim_and_northern_counties_rail" WHERE "type"='0-4-0st';

Question: What is the name of the locomotive with a Glencar class?
SQL: SELECT "names" FROM "sligo_leitrim_and_northern_counties_rail" WHERE "class"='glencar';