Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a query to show the quantity of items sold by each department. Sort the results by department name. Using the query you wrote in

Write a query to show the quantity of items sold by each department. Sort the results by department name.
Using the query you wrote in Question 1, create a data visualization (e.g., a bar chart) showing all departments and the number of items each of them sold. Using a markdown cell, explain what you observe from the analysis.
Write a query to show the number of orders placed in each year in which at least one order was placed. Hint: Search online to learn about MySQLs YEAR() function to query data.
Using the query you wrote in Question 3, create a data visualization (e.g., a line graph) showing all years and the number of orders placed during each year, to see if there is a trend in ordering. Using a markdown cell, explain what you observe from the analysis.

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

SQL Database Programming

Authors: Chris Fehily

1st Edition

1937842312, 978-1937842314

More Books

Students also viewed these Databases questions

Question

Provide several definitions of risk perception and risk tolerance.

Answered: 1 week ago

Question

Are there any questions that you want to ask?

Answered: 1 week ago