CREATE TABLE "second_conversion_period_1887_1910" (
  "class" text,
  "railway_number_s" text,
  "quantity_rebuilt" real,
  "rebuildjahr_e" text,
  "type" text
);

Question: What is the type if quantity rebuilt is more than 2 and the railway number is 4"…150?
SQL: SELECT "type" FROM "second_conversion_period_1887_1910" WHERE "quantity_rebuilt">2 AND "railway_number_s"='4\"…150';

Question: What was the Rebuildjahr(e) for the T2AA class?
SQL: SELECT "rebuildjahr_e" FROM "second_conversion_period_1887_1910" WHERE "class"='t2aa';

Question: What is the total of quantity rebuilt if the type is 1B N2T and the railway number is 88, 118?
SQL: SELECT COUNT("quantity_rebuilt") FROM "second_conversion_period_1887_1910" WHERE "type"='1b n2t' AND "railway_number_s"='88, 118';