Table: mainline_rail_vehicles
Columns: number
class
name
livery
notes

Question: What is the Class when Wessex Trains Pink is the Livery?
SQL: SELECT "class" FROM mainline_rail_vehicles WHERE "livery" = 'wessex trains pink'

Question: What is the Livery when the Number is 31468?
SQL: SELECT "livery" FROM mainline_rail_vehicles WHERE "number" = 31468