Instruct: 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?
Output: SELECT Works number FROM table WHERE Builder = avonside engine company AND Type = 4-6-0 AND Number < 12 AND Date = december 1871