Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Challenge with artists

Instruction

Here comes our new table!

Exercise

Let's take a look at museum loans. Show the name of each museum that loaned a piece (name that column as Loaner), and the name of the museum that received the piece (name that column as Borrower). Don't show duplicates.

Stuck? Here's a hint!

You need to join the table MuseumLoans twice with the table Museum, once using the FromMuseumId column, and once using the ToMuseumId column. Give each copy of the Museum table a different alias.

Use DISTINCT to select distinct pairs.