Question: What would be MySQL code for the following problems. 1)Drinkers who frequent only one bar 3) Bars which serve no beer(s) which Joe likes (you
What would be MySQL code for the following problems.
1)Drinkers who frequent only one bar
3) Bars which serve no beer(s) which Joe likes (you can use one of the outer joins if you want) 4) Bars which every drinker frequents 5)Drinkers who frequent exactly one bar of bar(s) which Vince does not frequent 6) Bars which no drinker frequents
7) Find Bars which serve all beers that Cabana serves and possibly more
8) Get triples
Beers(name, manf) Bars(name, addr, license) Drinkers(name, addr, phone) Likes(drinker, beer) Sells(bar, beer, price) Frequents(drinker, bar) Underline = key (tuples cannot have the same value in all key attributes)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
