Which class has fewer than 10 and number(s) names?
CREATE TABLE "tank_locomotives" (
  "class" text,
  "number_s" text,
  "quantity" real,
  "year_s_of_manufacture" text,
  "type" text
);
SELECT "class" FROM "tank_locomotives" WHERE "quantity"<10 AND "number_s"='names';