Which Type has a Builder of avonside engine company, and a Number of 9?
CREATE TABLE "locomotives" (
  "number" real,
  "builder" text,
  "type" text,
  "date" text,
  "works_number" text
);
SELECT "type" FROM "locomotives" WHERE "builder"='avonside engine company' AND "number"=9;