CREATE TABLE "trams" (
  "class" text,
  "quantity" real,
  "manufacturer" text,
  "motor" text,
  "seats" real
);

Question: Which motor's quantity was more than 8, and a class of bs 1915?
SQL: SELECT "motor" FROM "trams" WHERE "quantity">8 AND "class"='bs 1915';

Question: Which motor's class was bs 1910?
SQL: SELECT "motor" FROM "trams" WHERE "class"='bs 1910';

Question: What is the quantity when the seats number was 16 and the class was kss 1913?
SQL: SELECT "quantity" FROM "trams" WHERE "seats"=16 AND "class"='kss 1913';