CREATE TABLE "tank_locomotives" (
  "class" text,
  "railway_number_s" text,
  "quantity" real,
  "year_s_of_manufacture" text,
  "type" text
);

Question: Which Class has a Quantity larger than 96?
SQL: SELECT "class" FROM "tank_locomotives" WHERE "quantity">96;

Question: How much Quantity has a Type of 1′c1′ h2t?
SQL: SELECT COUNT("quantity") FROM "tank_locomotives" WHERE "type"='1′c1′ h2t';

Question: Which Class has a Type of 1′c n2t?
SQL: SELECT "class" FROM "tank_locomotives" WHERE "type"='1′c n2t';

Question: Which Year(s) of manufacture has a Quantity larger than 39, and a Type of 1′c1′ h2t?
SQL: SELECT "year_s_of_manufacture" FROM "tank_locomotives" WHERE "quantity">39 AND "type"='1′c1′ h2t';

Question: Which Year(s) of manufacture has a Quantity of 2, and a Type of b n2t?
SQL: SELECT "year_s_of_manufacture" FROM "tank_locomotives" WHERE "quantity"=2 AND "type"='b n2t';