Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
2. The Route table
Dealing with dates
Working with time data
Date and time date
Extracting dates and times
Doing arithmetic with dates
Converting date and time data
Building date and time data from parts
Summary and review

Instruction

Good. Let's introduce the tables we're going to work with. A (fictional) European airline called PerfectAir revealed some of its data to us. Let's see what we've received from them.

Exercise

Select all information from the Route table. This table keeps track of the flight routes used by PerfectAir. Each route has a:

  • unique internal ID code (Code),
  • international code for the departure airport (FromAirport),
  • international code for the arrival airport (ToAirport),
  • route distance, expressed in kilometers (Distance),
  • planned departure time (DepartureTime),
  • planned arrival time (ArrivalTime).