Question: Express the following SQL queries in relational algebra: 3) What are the singers who performed at least one concert in all halls? SELECT singer FROM
Express the following SQL queries in relational algebra:
3) What are the singers who performed at least one concert in all halls?
SELECT singer FROM Show S1 WHERE NOT EXISTS (SELECT * FROM Hall H WHERE NOT EXISTS (SELECT * FROM Show S2 WHERE S2.singer = S1.singer AND H.hall_id = S2.hall_id))
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
