Create a query that lists the following fields

Assignment Help Programming Languages
Reference no: EM13948365

Query #5

1. Create a query with an aggregate function that lists customers and the total amount ordered by each customer. [Use the Discounted Price calculation that you created in query #4.]

There should be only 2 fields in the query: One for the Customer Name, and the other for the total amount that they have ordered.Each customer should be listed only once in the dynaset.

2. Display the Total Amount Ordered with dollar signs and 2 decimal places.

3. Sort in Ascending order by Customer Name.

4. Change the heading of the Total Order column to read Total Order.

5. Name the query qry#5CustomerTotalOrder.

Query #6

1. Create a query that lists the following fields, in the order in which they appear below:

? Territory Name
? Sales Rep First and Last Names, displayed as follows:

Last Name, First Name

? Customer Name
? Contact First and Last Names, displayed as follows:

Last Name, First Name

2. Sort in Ascending order by Territory Name, then by Customer Name, then by Contact Name.

3. Name the query qry#6ConcatenatedNames.

NOTE: There will be a lot of redundancy in the data in this query. Eventually we?l convert this query to a report in which each item will be mentioned only once.

Query #7

1. List all customers who ordered a particular product (e.g., Utility Pine or Ungraded lumber) within a range of dates.? Design the query so that the user has the opportunity to specify the product description as well as the Start and End dates of the range when they run the query.

2. Include the following fields in the query, in the order in which they appear below:

? Customer ID
? Customer Name
? Product Description
? Quantity Ordered
? Date of Order

3. Sort by Date of Order, in Ascending order.

4. Add an explanation on the Database window to tell the user that this is a Parameter query and that they will need to enter the product description and the beginning and end dates of the order when running the query.

5. Name the query qry#7ProductAndDateParameter.

Query #8

1. Make a backup copy of your Customers table. Call the backup tblCustomerBackup.

2. Using the backup copy of the table, create a query that includes all of the fields, locates all inactive customer records, and appends them to an archive table named tblArchiveInactive.

3. Name the query qry#8aAppend.

4. Create another query to delete the archived records from the backup table. Name the query qry#8Delete.

[Make sure you include all fields in both queries.]

Query #9

1. Create a query based on tblOrders that locates all incomplete orders, and makes a new table out of the dynaset. Name the new table tblIncompleteOrders.

2. Name the query qry#9IncompleteOrdersNewTable.

3. Include all fields in the query.

[NOTE:Do not delete the incomplete order records from the tblOrders table!]

Reference no: EM13948365

Questions Cloud

How world you compare with nike : What are the pros, cons and risks associated with Nike's core marketing strategy? If you were Adidas, how world you compare with Nike
Practical vs theoretical education in health professionals : Issue in health professions education, review the literature pertaining to the issue, analyze the issue, and discuss its effect on health professions education. In writing 8-10 Pages font size 12 double space, including refrances APA style.
What is the max balance : Find out how many times a customer generated an invoice - What is the max balance - List the names of the customers and how many times a customer generated an invoice.
The movie streaming business : What new opportunities do you see in the movie streaming business, or the entertainment industry as a whole?
Create a query that lists the following fields : Create a query that lists the following fields, in the order in which they appear below:
Compute the roi of the radio project alone : Compute the ROI of: the division if the radio project is not undertaken, the radio project alone and the division if the radio project is undertaken. Do you suppose that Cheryl will decide to invest in the new radio? Why or why not..
In the beginning railroads were highly regulated : In the beginning railroads were highly regulated and then in the 20th century they were deregulated.  Explain what caused the change in philosophy and do you agree or disagree and why?
Influence others-your organization to deliver the results : Based on the organization you selected, write a strategic leadership and entrepreneurship analysis of 350-500 words that addresses the following questions:
Fiber-epoxy matrix composite : 1. Is  it  possible  to  produce  a  continuous  and oriented  aramid  fiber-epoxy  matrix  composite  having  longitudinal  and  transverse moduli of elasticity of 35 GPa (5 X 106  psi) and  5.17  GPa  (7.5 X 105  psi), respectively? Why  or  why..

Reviews

Write a Review

Programming Languages Questions & Answers

  Write program to read line of text which ends with sentinel

Write program which will read line of text which ends with a period, that serves as sentinel value. Display all the letters which occur in text, one per line and in alphabetical order,

  Program takes input from a user in the form of a phrase

This program takes input from a user in the form of a phrase. It then converts the phrase to ig latin.

  Framework of the program

Write a program to read in up to 100 positive real values from a data file that everyone will name "p4data.dat" , output them in ascending order , calculate and print the average , the median , the variance , and the standard deviation . The..

  Explain book constructor to accept and initialize data

Create and execute the class called Book which contains instance data for title, author, publisher, and copyright date. Explain the Book constructor to accept and initialize this data.

  Create class has constructor to reduce function of fraction

Create a class RationalNumber (fractions) with the following functionality: Has a constructor that prevents a 0 denominator in a fraction and calls the reduce function to simplify the fraction

  Design and develop a unix file sharing system

Design and develop a UNIX file sharing system. For this task you will be required to develop a simple application in C programming language.

  Write a c function called values that returns void

Write a C function called values that returns void and takes two double precision arguments (called a and b) and one double precision array argument.

  Is this an example of head or tail recursion

Referring to the code in Part 1, use the substitution model to illustrate what the result of calling (add1-iter '(1 2 3)) will be. Why is the list reversed ?

  Examine the loop statements in the code sample column

Examine the loop statements in the Code Sample column of the template. Identify the loop type used in the Loop Type column of the template

  Prompt input function

You have no guarantees about the accuracy of the input from the user. You have to check all input and give helpful error messages to assist the user.

  Create console program to prompts user to enter revenue

Create the console program which: Prompts user to enter revenue and expenses computes net income Outputs revenue, expenses and net income.

  Effective design features for site navigation

Screen shot of this example and explanation of effective design features will be included. Callouts are recommended. Ideally, students will locate examples of how they would like their site navigation to work and function.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd