Question: Queries with Join and Where Practice This dataset has information about seasons 1 to 3 1 of The Simpsons. Write SQL queries to satisfy the
Queries with Join and Where Practice
This dataset has information about seasons to of The Simpsons. Write SQL queries to satisfy the following information requests.
Which episodes have won awards that begin with "Outstanding"?
Show season number, episode number, title, award category, and award name.
Sort the result by season number then by episode number
Be sure to remove any duplicates from the list.
Which people have won awards in the category "Primetime Emmy" for playing characters?
Show the person's name, character, and award name.
Sort the result alphabetically by person then by character.
Be sure to remove any duplicates from the list.
Note: Sometimes the "person" receiving the award is a company. It is okay to include companies in the result.
In which episodes has the character named "Rabbi Hyman Krustofski" appeared?
Show the episode ID number in series, and title.
Sort the results in descending order by the episode number in series
What is the highest rated episode in which the character named "Apu Nahasapeemapetilon" appears?
Show the episode id title, airdate, and rating
Which episodes have awardwinning songs?
Show the episode id title and name of the song.
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
