Table: railway_vehicles
Columns: no
name
livery
arrival
type
configuration
builder
built
status
location

Question: What is the arrival time of greenbat
SQL: SELECT MAX("arrival") FROM railway_vehicles WHERE "name" = 'Greenbat'

Question: Which number has Engine Shed as the location
SQL: SELECT "no" FROM railway_vehicles WHERE "location" = 'Engine shed'

Question: What is the name with the builder of Kerr Stuart
SQL: SELECT "name" FROM railway_vehicles WHERE "builder" = 'Kerr Stuart'

Question: Who is the builder for the location Irton Road shed
SQL: SELECT "builder" FROM railway_vehicles WHERE "location" = 'Irton Road shed'

Question: Whats the status of the trains at location Museum
SQL: SELECT "status" FROM railway_vehicles WHERE "location" = 'Museum'

Question: How many are named River Esk
SQL: SELECT COUNT("built") FROM railway_vehicles WHERE "name" = 'River Esk'