Question: Steps: 1 ) Write a query that JOINS two tables and uses a subquery to list the songs made by artists over the age of
Steps:
Write a query that JOINS two tables and uses a subquery to list the songs made by artists
over the age of Your query should show the name of the song, the name of the artist, the
song length, and release date. For the column headers in the output rename songname to
Titleartist to Artistduration to Length and releasedate to Release Year
Your output should look like this
Title Artist Length Release Year
Where Does My Heart Beat
Now Celine Dion
The Last to Know Celine Dion
Have a Heart Celine Dion
Candle in the Wind Elton John
All I want for Christmas Is You Mariah Carey
La Voce Del Silenzio Andrea Bocelli
Just the Two of Us Will Smith
Write a query that JOINS all tables created in the previous lab to display the data in a similar
format to musicbasic. When you are joining your tables ensure that you are joining records with
valid albums, artists, and genres. Only matching rows
NOTE: You are not using the musicbasic table, but rather JOINing the artists, genre, album,
and songs tables to output a table in the same format. Modify your column headers to produce a
readable table that looks like this:
Hint: SELECT FROM musicbasic to get an idea for how your output should look. There are
multiple ways to do this!
Id Title Artist Genre Length Release Year Album
Where Does
My Heart
Beat Now
Celine Dion Pop Unison
The Last to
Know Celine Dion Pop Unison
Call Me
Maybe Katy Perry Pop Now
Have a
Heart Celine Dion Pop Unison
Create a View table using the query created in Question Display the contents of the view
table and include the results in your screenshot.
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
