Question: ?Based on the ERD below, create the following query: a . ?Display customer data who have purchased products with the name product must have at


 ?Based on the ERD below, create the following query:

a. ?Display customer data who have purchased products with the name

product must have at least 2 ?words and start with the letter A

b. ?Display customer data along with the total number of x transactions they have made

do it sorted by the most transactions

c. ?Create a trigger to add new customer data every time there is one

sales transactions from new customers that are not yet in the customer table

d. ?Show data on the 2 ?most expensive products ever purchased by customers

Odd customer IDs using NESTED QuerySALES ORDER

Customer Customer_ID Char(5) Customer Name Char(150) Customer Add Chw(100) H-- SALES ORDER

Customer Customer_ID Char(5) Customer Name Char(150) Customer Add Chw(100) H-- SALES ORDER Sales Order ID int Order Date Date Customer_id Chan) Customer Ret No Char(15) Product Product ID Char (6) Product Name Char(100) Price Int Sales Detail SD_ID Int Order ID Int Product ID Cher) Quantity

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!