Table: locomotive_list_2
Columns: number_name
description
livery
owner_s
date

Question: What livery was worn on the date before 1936, with the description of Gresley RF?
SQL: SELECT "livery" FROM locomotive_list_2 WHERE "date" < 1936 AND "description" = 'gresley rf'

Question: Which number and name has the description Gresley RB and a date before 1937?
SQL: SELECT "number_name" FROM locomotive_list_2 WHERE "description" = 'gresley rb' AND "date" < 1937

Question: Who is the owner before 1940, who had a number and name of no. 1222?
SQL: SELECT "owner_s" FROM locomotive_list_2 WHERE "date" < 1940 AND "number_name" = 'no. 1222'