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
cname,
tname
FROM character AS c
LEFT JOIN charactertvshow AS ct
ON
cid ct characterid
LEFT JOIN tvshow AS t
ON cttvshowid
tid;
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, characteractor, and actor should be c and
Select the columns:
cname,
aname
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
