Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Exercises with artists, museums and their pieces of art
Exercises with the band members table
11. Bands' members and their leaders
Exercises with employees, salaries and benefits

Instruction

Okay! Let's get started.

Exercise

Show the nickname of each band member (name the column member) and the nickname of their leader (name the column leader) in the same row.

Stuck? Here's a hint!

Remember that you can rename tables in a JOIN query using aliases, like so:

SELECT c1.model as newer, c2.model as older
FROM car c1
JOIN car c2
  ON c1.age < c2.age

Here, we joined the car table twice to list new and old models together. Note the use of table aliases in the query to distinguish between the two instances of table car in the query.