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 titles of songs that have been sung more than twice
2. Find the number of songs produced by "Sony" studios that "Eminem" works in.
3. Find the names of producers of songs that "Taylor Swift" sang, and for each producer, output the producer name and the number of "Taylor Swift" songs produced by the producer.
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