Answered step by step
Verified Expert Solution
Question
1 Approved Answer
QI . Write a query to retrieve the top 1 0 order amounts from customers, the product information for those orders, and calculate the sum
QI Write a query to retrieve the top order amounts from customers, the product information for those orders, and calculate the sum of the order amounts.
Q Write a SQL query to find the category in which a customer ordered the most and calculate the total of that category.
Q Write an SQL query to get a list of orders placed by customers in Seattle and calculate the total amount of all orders.
Q Write a SQL query that lists the names of the vendor companies that provided the products and sorts them in order of total revenue if the revenue generated by the products taken by employees with the job title "Sales Representative" is more than $ What is the total of all vendor sales?
Q The owner of Northwind Traders wants to know if his staff is deployed effectively. For example, he might assume that there are more employees in areas where there are more orders for goods, or that there are more employees in areas with high sales. You need to analyze the staffing status so that he can make a decision. You analyze the data in SQL and use the quantitative evidence from your analysis to form an opinion about the staffing.
Suppliers: Suppliers and vendors of Northwind
Customers: Customers who buy products from Northwind
Employees: Employee details of Northwind traders
Products: Product information
Shippers: The details of the shippers who ship the products from the traders to the endcustomers
Orders and OrderDetails: Sales Order transactions taking place between the customers & the company
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started