Only this week, get the SQL Complete Track of 9 courses in a special prize of $330 $89!
Introduction
3. Table journey
PARTITION BY
Summary

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.