Question
Consider the following 5 relations of a database: Songs (title, year, length, genre, studioName, producerC#) Singers (songTitle, songYear, singerName ) SongSinger (name, address, gender, birthdate)
Consider the following 5 relations of a database:
Songs (title, year, length, genre, studioName, producerC#)
Singers (songTitle, songYear, singerName )
SongSinger (name, address, gender, birthdate)
SongExec (name, cert#, address, networth)Studio (name, address, presC#)
Find the SQL queries for:
1. Find the names of singers who sing in only songs produced by "Sony" studios
2. Find the studio names and names of studio presidents of the studios that have "Justin Bieber" singing in every song the studio produces.
3. Find the names of studio presidents whose networth is more than the average networth of all studio presidents
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started