Computer Science Homework Solutions
Problem
#21702

Query

I need to make changes to the database based on the query question in Word.

Since I can not attach Access, please change the file extension to database.mdb when open database.exl.

Thank you!

Attached file(s):
Attachments
Query Question.doc  View File
Database .xls  View File

Attachment Content Summary (Note: view attachment at the above link before purchasing. Actual attachment content may vary slightly from that shown below.)

Query Question.doc
Query #1

 

1.      List all active customers.  Include the following fields,
in the order in which they appear below:

 

Customer ID

Customer Name

Contact First Name

Contact Last Name

Contact Phone

 

2.      Sort by Customer Name, then by Contact Last Name, then by
Contact First Name.

 

 

NOTE:  All 3 of these Sorts need to be done at the same time.  In
other words, the Customer Name field is the primary Sort key.  When
there are duplicate Customer names, the list will be sorted by the
Contact Last Name field, and when there are duplicate last names the
list will be sorted by Contact First Name.

 

 

3.      Name the query qry#1ActiveCustomers.

 

 

 

 

Query #2

 

1.      List all customers in territories 1 and 5 who have bought
Standard lumber, and all customers in territory 3 who have bought 3+
Ash.

 

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

 

Customer ID

Customer Name

Territory Name

Sales Rep ID

Sales Rep Last Name

Product Code

Product Description

 

3.      Sort by Product Description, then by Customer Name, in
Ascending order.

 

4.      Name the query qry#2TerritoriesAndProducts.

 

 

 

 

Query #3

 

1.      List all customers with the products they have ordered
since and including 1/1/03.

 

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

 

Customer Name

Product Description

Product Code

Quantity Ordered

Date of Order

 

3.      Format the Quantity Ordered field to display with commas
and zero decimal places.

 

4.      Sort by Product Description, then by Customer Name, in
Ascending order.

 

5.      Name the query qry#3CustomersAndOrders.

 

 

 

 

Query #4

 

1.      Create a query that calculates the total product cost and
the discounted price for all products.

 

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

 

Product Description

Product Code

Customer Name

Quantity Ordered

List Price

Discount

Base Price (=Quantity multiplied by the List Price)

Discounted Price (=Base Price minus the Base Price multiplied by the
Discount)

 

3.      Format the Base Price and Discounted Price fields to
Currency with 2 decimal places.

 

4.      Format the Quantity Ordered field to display commas with 0
decimal places.

 

5.      Format the Discount value to Percent with 1 decimal place.

 

6.      Sort in Ascending order by Product Description, then by
Customer Name.

 

7.      Name the query qry#4TotalProductCost.
Solution
What is this?
By OTA - Overall OTA Rating
Shawn Laliberte - 4.8/5
Purchase Cost Now
$2.19 CAD (was ~$7.98)
Included in Download
  • Plain text response
  • Attached file(s):
    • 21702sol.doc
    • Database
$2.19 Instant Download
Add to Cart
Why you can trust BrainMass.com
  • Your Information is Secure
  • Best Online Academic Help Service
  • Students find real academic Success
Related Solutions
  • database - Please find the attached and give me your idea about the attached database, (since I can not attach access file, please change the file extension to database.mdb when open) *Very brief explanation ...
  • Access - Please see attached. I need to import the data in Excel to the table in Access. There are 6 tables in Access (Contacts, Customer, Orders, Products, SalesRep and Territories) and I also created 6 she ...
  • Library Database - I need some help. I have to create a MS Access database for a library. The database would keep information on books, customers, past due fines, etc…Any help will be greatly appreciated. Thanks. 1. ...
  • What are the security features in SQL Server that do not exist in Access? - Help with this questions. What are the security features in SQL Server that do not exist in Access?
  • Implement the spreadsheet in the MS access and list all assumptions and functional dependencies - (See attached file for full problem description) --- Implement the database in MS access with Relationships, tables, keys, indexes and a view(query) that duplicated the spreadsheet and list all fu ...
Browse