CREATE TABLE table_name_76 (works_number VARCHAR, date VARCHAR, number VARCHAR, builder VARCHAR, type VARCHAR)

Which Works number has a Builder of avonside engine company, and a Type of 4-6-0, and a Number smaller than 12, and a Date of december 1871?
SELECT works_number FROM table_name_76 WHERE builder = "avonside engine company" AND type = "4-6-0" AND number < 12 AND date = "december 1871"
SELECT "works_number" FROM "table_name_76" WHERE "4-6-0" = "type" AND "avonside engine company" = "builder" AND "date" = "december 1871" AND "number" < 12