Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

?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

image

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

1285427106, 978-1285427102

More Books

Students also viewed these Programming questions

Question

What is a database?

Answered: 1 week ago

Question

The brain emits large, slow delta waves during _______ sleep.

Answered: 1 week ago