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 the studios, and names of presendents of these studios, of "Katy Perry" songs without using subqueries.
2. Find the names of other singers who sang any of the same songs as "Katy Perry" sings between 2010 and 2014.
3. Find the names of singers who did not sing in any songs produced by "Sony" studio in 2014 both with and without using EXCEPT operator
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