Question: Patron ( PName , Address ) , Salon ( Sname , Address ) , Beer ( BName , Brewer ) , Frequents ( PName ,

Patron (PName, Address),
Salon (Sname, Address),
Beer (BName, Brewer),
Frequents (PName, Sname),
Likes (PName, BName),
Serves (SName, BName, Price).
Which of the following TC expressions best represents the query:
"Find the details for the Salons which serve at least two different beers"{s|s in Salonr,q{r in Servesq in Servesr.SName=s.SNameq.SName=s.SNamer.BName=s.BName}}{s|s in Salonr,q{r in Servesq in Servesr.SName=q.SNameq.SName=s.SNamer.BNameq.BName}}Any of these{s|s in Salonr,q{r in Servesq in Servesr.SName=q.SNameq.SName=s.SNamer.BName=s.BName}}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!