Challenge: FriendBook
Here's some help for this challenge, it is a little bit tricky.
SELECT a.fullname, b.fullname FROM friends
JOIN persons a
ON friends.person1_id = a.id
JOIN persons b
ON friends.person2_id = b.id;
but this is a way to figure out how to solved. You don't need the hobbies table.
Opslag er lukket for kommentarer.