Exercise: RA Set Operations
Use RA to construct answer relations for these queries:
- Bars where either Gernot or John drink.
- Bars where both Gernot and John drink.
- Beers which both Andrew and John like.
- Bars which sell New and VB.
- Which bars are going broke? (i.e. have no drinkers)
- Which beers are not available at any bar?
|