[SOLVED] CS336 Homework 1

35.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon HW1-xr8h5p.zip (2.3 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
5/5 - (1 vote)

Assignment:

Write SQL queries for each of the 8 queries below and execute them on the database instance provided in our BarBeerDrinker database (instructions how to connect and download SQL query workbench in the document posted in resources)

Submission Instruction: Text file showing

a) Each query (8)
b) the results returned by the practice database Bar-Beer-Drinker Instance(8)

LIST OF QUERIES:

1. Beers other than Hefeweizen which are served by Gecko Grill bar
2. Drinkers who like some beers which Justin also likes
3. Pairs of drinkers and bars such that a drinker frequents the bar and the bar serves at least one beer which the drinker likes
4. Bars which are frequented by Justin or Rebecca but not by both of them
5. Drinkers who frequent bars which sell some beer that they like
6. Bars which serve some beers which John or Rebecca like and which are cheaper than $5
7. Drinkers who like both Hefeweizen and Killian’s
8. Bars with names containing “The”

  • HW1-xr8h5p.zip