Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

SQL Query Commands -- a. List all salespersons sorted by last name and within last name, first name. -- b. List details (car cost &

SQL Query Commands

-- a. List all salespersons sorted by last name and within last name, first name.

-- b. List details (car cost & type) of the sales made by Robert King.

-- c. Report the number of cars sold of each type.

-- d. What is the average car cost of cars sold by Janet Lever ling?

-- e. Report details (salesperson, car cost and car type) of all sales where the car cost is less than the average.

-- f. What is the total car cost of all cars?

-- g. What is the total car cost of all cars that have sold?

-- h. List all salespersons with a number of the cars they've sold of each type

-- i. List car cost & type for all cars that have not sold --

j. List the number of cars of each type that have not sold

-- k. List salespersons who have not made a sale

-- l. List all salespersons and the total car cost of their sales; for salespersons without sales, a zero should be reported

-- m. This isn't a query; just type your response the SQL comments block below

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

More Books

Students also viewed these Databases questions

Question

Explain basic guidelines for effective multicultural communication.

Answered: 1 week ago

Question

Identify communication barriers and describe ways to remove them.

Answered: 1 week ago

Question

Explain the communication process.

Answered: 1 week ago