Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

W3schools.com Create SQL, below is the question. question 4 (60 points) chrone use https://www.w3schools.com/sal/ to complete the f used for each query (no need to

W3schools.com Create SQL, below is the question.image text in transcribedimage text in transcribed

question 4 (60 points) chrone use https://www.w3schools.com/sal/ to complete the f used for each query (no need to submit the query results). 4.1 Which salesman (i.e. employee) produces the largest amount of sales? Write a query to answer this question (10 points) 4.2 What supplier appears to be the most important (in terms of revenue generation)? Write a query t answer this question (10 points). 4.3 How much revenue for each product category does each shipper handle? Write a query to answer this question (10 points). 4.4 What customer purchases the most seafood (in terms of revenue)? Write a query to answer the question (10 points). 4.5 Write a query that outputs the customer name, total revenue for the customer, and an attribute called "type" that labels customers according to whether or not they have ever purchased seafood (u values "Buys seafood" and "Does not buy seafood"). Sort the report so that customers that buy seafo appear from largest total revenue to smallest total revenue, while customer that do not buy seafood sorted alphabetically by their names (20 points). Case 3times

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

Lab Manual For Database Development

Authors: Rachelle Reese

1st Custom Edition

1256741736, 978-1256741732

More Books

Students also viewed these Databases questions

Question

a. What is the purpose of the team?

Answered: 1 week ago

Question

a. How are members selected to join the team?

Answered: 1 week ago

Question

b. What are its goals and objectives?

Answered: 1 week ago