Table: locomotive_gwr
Columns: manufacturer
type
quantity
m_swj_nos
gwr_nos

Question: Which GWR numbers had a quantity less than 2 when the M&SWJ number was 9?
SQL: SELECT "gwr_nos" FROM locomotive_gwr WHERE "quantity" < 2 AND "m_swj_nos" = '9'

Question: Which manucfaturer's type was 2-6-0?
SQL: SELECT "manufacturer" FROM locomotive_gwr WHERE "type" = '2-6-0'