Ask DBMS Expert


Home >> DBMS

The purpose of this hands-on computer exercise is to have you learn how to use Microsoft Access to: create a database table, enter data into the table, create a report based on the data, and print the table and the report.

1. Create a new Database and name it ORDERS.  Make sure it is saved in a location where you can find it again.

2. Create a new table using design view

3. Use the following file layout to create the structure:

Field Name                 Field Type                   Field Size                    Valid IF Clause

Cust Name                  text                              25                               

Item                             text                              1                                  a or b or c

Quantity                      number (integer)

Purchase Date             date/time

NOTE: the field size and valid IF clause are to be done at the bottom of the design screen where it says "field properties"

4. Save the table as CUSTOMER ORDERS

5. Change to "Datasheet View" and enter the following records:

Cust Name                  Item     Quantity          Purchase Date

John Thibodaux          a          1                      9/09/14

Jason Breaux               a          2                      10/02/13

Dan Jones                    b          7                      12/11/13

Ed Jones                      c          2                      8/15/14

Susan Breaux              b          12                    8/02/14

Bill Smith                    c          4                      9/01/14

Your Name                 b          5                      current date

6. Print the table

7. Create a tabular report using the report wizard.  All fields should be on the report.  Print the report.  You do not need to save the report unless you want to.  They are easy enough to recreate if needed.

The purpose of this exercise is to practice using queries, calculated fields, and reports.

1. Use the same database (Orders) and table (customer orders) you created in H2

2. Create a new query.

For each question you are to: 1) design the query in the query design view, 2) execute the query by clicking on the exclamation button bar, 3) note the number of records found or other requested information in the space provided, and 4) indicate the query you used in the space provided below.

Example:

Find all orders for item b.  Number Found: 3

Field:

    Cust Name

Item

Quantity

Purchase Date

Sort:

 

 

 

 

Show:

X

X

X

X

Criteria:

 

          b

 

 

Or:

 

 

 

 

1. Find all orders for item a.  Number Found:

Field:

 

 

 

 

 Sort:

 

 

 

 

Show:

 

 

 

 

Criteria:

 

 

 

 

Or:

 

 

 

 

2. Find all orders where item is not equal to a.  Number Found:

Field:

 

 

 

 

 Sort:

 

 

 

 

Show:

 

 

 

 

Criteria:

 

 

 

 

Or:

 

 

 

 

3. Find all orders from customers with the last name of Breaux.  Number Found:

Field:

 

 

 

 

 Sort:

 

 

 

 

Show:

 

 

 

 

Criteria:

 

 

 

 

Or:

 

 

 

 

4. Find all orders with purchase date before July 1, 2014.   Number Found:

Field:

 

 

 

 

 Sort:

 

 

 

 

Show:

 

 

 

 

Criteria:

 

 

 

 

Or:

 

 

 

 

5. Find all orders with item equal a and quantity greater than 1.  Number Found:

Field:

 

 

 

 

 Sort:

 

 

 

 

Show:

 

 

 

 

Criteria:

 

 

 

 

Or:

 

 

 

 

6. Find all orders with item equal a or c.  Number Found:

Field:

 

 

 

 

 Sort:

 

 

 

 

Show:

 

 

 

 

Criteria:

 

 

 

 

Or:

 

 

 

 

7. Find all orders with item equal c or quantity less than 7.  Number Found:

Field:

 

 

 

 

 Sort:

 

 

 

 

Show:

 

 

 

 

Criteria:

 

 

 

 

Or:

 

 

 

 

8. Use totals button to find the average quantity.         Average:

Fill in the average above, and indicate below the query you used to find the average.

Field:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

9. Create a calculated field called Due Date to hold the purchase date plus 30 days.  Find all orders with a Due Date after July 15, 2014.  For the calculated field, indicate both the calculation used to create it and the query used to answer the question.  Note: when entering the criteria for due date, remember to use # signs around the date.

Number Found:

Field:

 

 

 

 

 

Sort:

 

 

 

 

 

Show:

 

 

 

 

 

Criteria:

 

 

 

 

 

Or:

 

 

 

 

 

10. Based on query 9 above, create and print a tabular report.  The report should include:

a. all fields from the table and the calculated field

b. the report title should be Due Date Report

c. save the report as due date report

d. print the report

Deliverables: All of the questions on this assignment should be answered, and the report created in question 10 should be attached to the back.

The purpose of this exercise is to practice using multiple tables in a query and report.

1. Use the same database (Orders) and table (Customer Orders).

2. Create a new table using design view. Use the following file layout:

Field Name           Field Type           Field Size    Other

Item                      Text                      1                 Set as Primary Key

Description          Text                      35     

3. Save the table as "Item Description".

4. Open the table and enter these records:

Item   Description

a        Apricot

b        Banana

c        Cereal

5. Link the customer orders table with the item description table by "adding" them both in a new query.

6. Create a query to answer the following:

Which customers ordered any item in quantity less than 6?

7. Create a report based on the query in number 6.

The report should ONLY include the customer's name, the description of the item, and the quantity ordered.

DBMS, Programming

  • Category:- DBMS
  • Reference No.:- M9897784

Have any Question?


Related Questions in DBMS

Data mining assignment -in this assignment you are asked to

Data Mining Assignment - In this assignment you are asked to explore the use of neural networks for classification and numeric prediction. You are also asked to carry out a data mining investigation on a real-world data ...

Sql query assignment -for this assignment you are to write

SQL Query Assignment - For this assignment you are to write your answers in a word document. This assignment is in three parts: Part A (reporting queries), Part B (query performance), Part C (query design). For this assi ...

The groceries datasetimagine 10000 receipts sitting on your

The groceries Dataset Imagine 10000 receipts sitting on your table. Each receipt represents a transaction with items that were purchased. The receipt is a representation of stuff that went into a customer's basket. That ...

You are in a real estate business renting apartments to

You are in a real estate business renting apartments to customers. Your job is to define an appropriate schema using SQL DDL in MySQL. The relations are Property(Id, Address, NumberOfUnits), Unit(ApartmentNumber, Propert ...

Objectivethe objective of this lab is to be familiar with a

OBJECTIVE: The objective of this lab is to be familiar with a process in big data modeling. You're required to produce three big data models using the MS PowerPoint software. This tool is available on UMUC Virtual Deskto ...

The relation memberstudentid organizationid roleid stores

The relation Member(StudentId, OrganizationId, RoleId) stores the membership information of student joining organization. For example, ('S1', 'O2', 'R3') indicates that student with Id 'S1' joined the organization with i ...

Relational database exerciseyou have been assigned to a new

Relational Database Exercise: You have been assigned to a new development team. A client is requesting a relational database system to manage their present store with the anticipation of adding more stores in the future. ...

Relational database design a given the following business

Relational Database Design A) Given the following business rules, identify entity types, attributes (at least two attributes for each entity, including the primary key) and relationships, and then draw an Entity-Relation ...

We can represent a data set as a collection of object nodes

We can represent a data set as a collection of object nodes and a collection of attribute nodes, where there is a link between each object and each attribute, and where the weight of that link is the value of the object ...

Data model development and implementationpurpose of the

Data model development and implementation Purpose of the assessment (with ULO Mapping) The purpose of this assignment is to develop data models and map Database System into a standard development environment to gain unde ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As