Question
***DO NOT COPY FROM CHEGG PLEASEEEEEE!!!!!*** I need this in Data Base, relational Algebra expression Write relational algebra expressions for the following queries based on
***DO NOT COPY FROM CHEGG PLEASEEEEEE!!!!!***
I need this in Data Base, relational Algebra expression
Write relational algebra expressions for the following queries based on the tables below.
Product(SKU, Description, Price, Location)
Guests(CardNo, Name, Address)
Purchase(CardNo, SKU, StoreNum, When, Markdown)
Store(StoreNo, Address, Phone)
Inventory(SKU, StoreNum, Qty)
5. All of the products not carried at store 1416
6. Descriptions of all products purchased by both Laverne Cox and Vanna White.
7. The greatest discount on any product (renaming can be used to calculate a derived attribute; e.g., 100%Markdown/P riceDiscount(...))
8. The names of all customers whose address doesnt match the address of a store theyve shopped at
9. The card numbers of customers who have bought all products (be careful
that you dont require them to buy everything on the same day, from the
same store, with the same markdown)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started