Table: blue_riband_ships
Columns: ship
year
dates
line
from
distance
days_hours_minutes
speed

Question: What year did the ship Europa, have the dates of 14 – 23 October?
SQL: SELECT AVG("year") FROM blue_riband_ships WHERE "ship" = 'europa' AND "dates" = '14 – 23 october'

Question: What is the ship in the Cunard line from Liverpool 19 – 29 July?
SQL: SELECT "ship" FROM blue_riband_ships WHERE "line" = 'cunard' AND "from" = 'liverpool' AND "dates" = '19 – 29 july'

Question: What is the distance for 5 d, 23 h, 7 m?
SQL: SELECT "distance" FROM blue_riband_ships WHERE "days_hours_minutes" = '5 d, 23 h, 7 m'

Question: What is the Days, hours, minutes for the GW line from Liverpool?
SQL: SELECT "days_hours_minutes" FROM blue_riband_ships WHERE "line" = 'gw' AND "from" = 'liverpool'

Question: What is the Days, hours, minutes for 21 – 26 October?
SQL: SELECT "days_hours_minutes" FROM blue_riband_ships WHERE "dates" = '21 – 26 october'