Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write SQL code that could be used from these five tables below 10. List the part description of the part with the most units on

Write SQL code that could be used from these five tables below
10. List the part description of the part with the most units on hand.
11. List the part description of the part that was sold the most (in terms of total number ordered).
12. List the full name and number of different parts for each order each customer has placed.
Rename the calculated column as TOTAL_PARTS.
13. List the order date of an order containing a part description with letter D (or d) in it.
14. List the customer name of those who purchased products with a unit price of more than $150.
15. List sales representative number and the number of customers handled by each sales
representative who got paid at most as the average total commission. Rename the number of
transactions as NO_Customers
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
SELECT FRON ORDER LNE ORDER NUMBER PART NUMBER NUMBER ORDERED 21 05 22.95 4999

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_2

Step: 3

blur-text-image_3

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

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Shamkant B. Navathe

7th Edition Global Edition

1292097612, 978-1292097619

More Books

Students also viewed these Databases questions