Which GWR numbers had a quantity less than 2 when the M&SWJ number was 9?
CREATE TABLE "locomotives_of_the_great_western_railway" (
  "manufacturer" text,
  "type" text,
  "quantity" real,
  "m_swj_nos" text,
  "gwr_nos" text
);
SELECT "gwr_nos" FROM "locomotives_of_the_great_western_railway" WHERE "quantity"<2 AND "m_swj_nos"='9';