Instruct: What class has 4-4-0 wheels and was less than number 40 built?
Output: SELECT Class FROM table WHERE Wheels = 4-4-0 AND No. Built < 40