Consider the following schema (keys are underlined): Product(pid, name, type, manufacturer, price) Buys(cid, pid) Customer(cid, cname, age, gender) Write the following queries: 1. Find the names of...


write following queries


Consider the following schema (keys are underlined):<br>Product(pid, name, type, manufacturer, price)<br>Buys(cid, pid)<br>Customer(cid, cname, age, gender)<br>Write the following queries:<br>1. Find the names of all customers who have purchased a product manufactured by Gizmo.<br>2. Find the cheapest expensive product<br>3. Find the most expensive product from each manufacturer<br>4. Find products that not being purchased<br>5. Find the names of all customers who have purchased the most expensive product.<br>

Extracted text: Consider the following schema (keys are underlined): Product(pid, name, type, manufacturer, price) Buys(cid, pid) Customer(cid, cname, age, gender) Write the following queries: 1. Find the names of all customers who have purchased a product manufactured by Gizmo. 2. Find the cheapest expensive product 3. Find the most expensive product from each manufacturer 4. Find products that not being purchased 5. Find the names of all customers who have purchased the most expensive product.

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here