CREATE TABLE table_name_95 (class VARCHAR2, wheels VARCHAR2, no_built VARCHAR2)

What class has 4-4-0 wheels and was less than number 40 built?
SELECT class FROM table_name_95 WHERE wheels = "4-4-0" AND no_built < 40
SELECT "class" FROM "table_name_95" WHERE "4-4-0" = "wheels" AND "no_built" < 40