Question 2 Consider Following Database Schema Primary Keys Underlined Supermarket Database Q43799820
Question(2) Consider the following database Schema (primary keys are underlined) for a supermarket database. In the database, we store information about items, customers and their purchases information. Item (No Name, PricePerUnit, Brand) Customer (ID. Name) Purchased items (PurchaselD, Item No, Customerid, Quantity, PurchaseDate) Write the following queries in relational Algebra 1. Display Customers’ ID who have purchased at least one item of brand ‘ABC’. 2. Increase the PricePerUnit for Item No-1 by 10%. 3. Display the name and brand of items that were never purchased. Show transcribed image text Question(2) Consider the following database Schema (primary keys are underlined) for a supermarket database. In the database, we store information about items, customers and their purchases information. Item (No Name, PricePerUnit, Brand) Customer (ID. Name) Purchased items (PurchaselD, Item No, Customerid, Quantity, PurchaseDate) Write the following queries in relational Algebra 1. Display Customers’ ID who have purchased at least one item of brand ‘ABC’. 2. Increase the PricePerUnit for Item No-1 by 10%. 3. Display the name and brand of items that were never purchased.
Expert Answer
Answer to Question(2) Consider the following database Schema (primary keys are underlined) for a supermarket database. In the data…
OR