Question: For example, to use left joins between characters and tv shows with aliases, you would run: SELECT c . name, t . name FROM character

For example, to use left joins between characters and tv shows with aliases, you would run:
SELECT
c.name,
t.name
FROM character AS c
LEFT JOIN character_tv_show AS ct
ON
c.id = ct. character_id
LEFT JOIN tv_show AS t
ON ct.tv_show_id =
t.id;
As you can see, it is shorter than the query in the previous exercise.
Can you use left joins to match character names with the actors that play them, and use aliases to make the query shorter? The aliases for character, character_actor, and actor should be c,ca, and a.
Select the columns:
c.name,
a.name
 For example, to use left joins between characters and tv shows

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!