Introduction
3. Table journey
PARTITION BY
Revision

Instruction

Good. Two more to go!

Exercise

Select all the information from the table journey.

Journey in our database is what passengers can buy tickets for. Each journey has its own id, is operated by a certain train, goes via a certain route on a certain day.

Take a look at the first row: if you had wanted to go from Sheffield to Manchester with train 1 on 3 Jan 2016, you would have bought a ticket for journey with id 1.

Console

Code editor

Result

TableConsole