Answered step by step
Verified Expert Solution
Question
1 Approved Answer
LAB OVERVIEW Scenario and Summary Lab 6 will introduce the concept of group functions and subqueries to meet more complex report requirements. This lab will
LAB OVERVIEW
Scenario and Summary
Lab 6 will introduce the concept of group functions and subqueries to meet more complex report
requirements. This lab will be completed using ACCESS and the Northwind database. If you need to,
review how to use ACCESS to execute SQL statements in my video demonstration in the Announcement
area.
Do your work in Notepad. When you create column name alias, you can use single quotes around the
column name in ACCESS.
- Write a query to display the total number of orders in the database. Your display will be only one line. Give it the heading Total Number of Orders.
- Write a query to display the total number of orders for each customer. Display the customer ID and display the total with a heading of Total Number of Orders Per Customer.
- Write a query to display the total amount of orders in dollars. Your display will only be one line. Give the column the heading Total Dollars.
- Write a query to display the number of orders in dollars for each customer. Give the column the heading Total Amount of Orders Per Customer. Sort by Customer ID.
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