Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

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

Need an expert in the fields of system design to handle

Need an expert in the fields of system design to handle this project This is a system analysis and design project, not a research project. Refer to the list of deliverables in the instructions in the assignment to make s ...

Question sql injection is in the top 10 owasp and common

Question : SQL Injection is in the top 10 OWASP and Common Weakness Enumeration. Using MySQL and PHP, show your own very short and simple application that is vulnerable to this attack. Provide another version that mitiga ...

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 ...

Suppose that we have a table of house prices and a table of

Suppose that we have a table of house prices and a table of zip codes: • hprices(hid (PK),address,bedrooms,price,zipcode) • zipcodes(zipcode (PK),state) Write a SQL query that finds the average, maximum, and minimum pric ...

Sqlquery 1 how many products have standard price less than

SQL Query 1. How many products have standard price less than 1000? Query 2: Display all attributes for products made of "Cherry" from Product table w/o referring to column names. Query 3: Display all product names having ...

In sql developer onlydeliverables include sql scripts and

In SQL Developer ONLY! Deliverables Include SQL scripts and screenshot of the results: D1. Create the following three user-defined roles that are shown in the table below and assign them the specified permissions for the ...

Instructionsfor decades relational databases remained

Instructions For decades, relational databases remained essentially unchanged; data was segmented into specific chunks for columns, slots, and repositories, also called structured data. However, in this Internet of Thing ...

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 ...

Database design amp development assignment -assignment

Database Design & Development Assignment - Assignment title - Design and Implement a Relational Database for a local Print and Ink Refill Business. Learning Outcome - Use an appropriate design tool to design a relational ...

Question suppose we have two kinds of doctors hospital

Question : Suppose we have two kinds of doctors: hospital doctors and family physicians. In addition to the doctor's id number, name, specialty, and years of experience, we want to record the hospital name for the hospit ...

  • 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