Create a query that lists the following fields in the order


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!]

Solution Preview :

Prepared by a verified Expert
Programming Languages: Create a query that lists the following fields in the order
Reference No:- TGS01257653

Now Priced at $20 (50% Discount)

Recommended (91%)

Rated (4.3/5)