human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Class, Wheel Arrangement, Railway, Number at Doncaster, Number at Lincoln
###Question: Which Class has a Number at Lincoln larger than 0 and a Number at Doncaster of 8?
gpt
SELECT Class FROM table WHERE Number at Lincoln > 0 AND Number at Doncaster = 8