Question: Cis 1 1 1 Assignment # 3 Chapter 5 & 6 Query ProblemsPrepare a script file just as you did for the previous assignments. Chapter
Cis Assignment # Chapter & Query
ProblemsPrepare a script file just as you did for the previous
assignments.Chapter Query ProblemsQuery # pts: Create a summary query that
will display the number of orders, the earliest order date, the
latest order date by country for Germany, France or Spain.Query # pts: Display the highest and
lowest unit price, the total and the average product sales for all
orders whose customers are from the United States. Product Sales is
a calculate field: Unit Price Quantity Discount There
should be only one row of output.Query # pts: Create the following summary
query where it will be grouped by Product name for all Seafood or
Dairy Products: List the average quantity ordered, the highest
quantity ordered, and the total product sales amount Product Sales
is a calculate field: Unit Price Quantity DiscountQuery # pts: You are to create a
query that will display the number of orders grouped by territory
description This should only list territories where the number of
orders are or more. The Having clause must be used for the
criteria.Chapter Query ProblemsQuery # pts: Create a query that will
return the customer id company name and country for those
customers without an order. Use the Not In operator with a
subquery.Query # pts: Using the ALL keyword create a
query that returns orders that have a quantity larger than the
quantities ordered for product ID or Display the Order ID
Order date, Product ID Quantity ordered, Unit price and
discount. The subquery should return all of the quantities
ordered for a product id or Query # pts Create a query that will
display the order id customer id order date, shipped date and the
ship freight cost freight for those orders that are greater
than the freight average of all orders whose ship country is USA or
Canada. The subquery should determine what the freight
average is and passes that to the outer query.Query # pts: Create a query using a
subquery within the FROM clause to retrieve the top customers
based on the number of orders received. The outer query
should display the customer id the date of the first order, the
date of the last order and the total number of orders
received. Refer to the example on page of your textbook.
Extra Credit points is given if the subquery
within the From clause uses a Common Table ExpressionCTE
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
