Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 3

BCO 1102 INFORMATION SYSTEMS FOR BUSINESS

PRACTICE DATA BASE TEST

Requirements: After reading details of the case study, complete the required tasks. Marks will be
awarded according to the skills you have demonstrated.

Case Study

Discount DVD Rentals, a rental store, purchases DVDs from Suppliers and then rents those DVDs to
customers. As new DVD titles are purchased by the business for future renting they are added to a DVD
table in an Access 2007 database. DVDs are only purchased from designated suppliers. Details of suppliers
are recorded into a SUPPLIER table. To rent from the store a customer must be registered and their details
are then stored in a CUSTOMER table. When a Customer rents a DVD from the store details are recorded
into the RENTAL table.

Thus there are four (4) entities; CUSTOMER, RENTAL, SUPPLIER and DVD. The following describes the
relationship between the entities:

A SUPPLIER may sell to one or more DVDs but a DVD must only be supplied by one SUPPLIER
A CUSTOMER may have one or more RENTALs but a RENTAL must have only one CUSTOMER.
A RENTAL must have only one DVD but a DVD may be involved in one or more RENTALs.

Task 1: Using this information draw an Entity-Relationship Diagram (ERD) which shows the relationship
(cardinality and existence) between the entities.

BCO 1102 Information Systems for Business Database Challenge Practice Semester 2, 2012 Page 1
A partially completed Access database has been created which contains 3 tables; CUSTOMERS,
RENTALS, and DVDS. Copy the database file called DatabaseTestFile onto your memory stick. Using
Windows Explorer rename the file to include your name.

Open the database and look at the existing tables. Switch to Design View and look at the structure of the
tables.

The following is the specifications for the SUPPLIERS table; SupplierID (Primary key) [Short Text, 3 Field
Size], SupplierName [Short Text, 50 Field Size] and SupplierPhoneNumber [Short Text, 12 Field Size].

Task 2: Create the SUPPLIERS table in the Access database according to the specifications above and enter
the follow records:

SupplierID SupplierName SupplierPhoneNumber


101 DVD Classic Suppliers 0408 526 020
102 Movies and More Pty Ltd 0403 123 345
103 Silver Screen DVDs 0356 186 109

Task 3: Using details in the ERD in Task 1 establish relationships between the four tables in Access. Be sure
to Enforce Referential Integrity when you establish the relationships.

Task 4: Queries similar to these will be on the test

I. Show the Fname, Suburb, PhoneNumber and TotalAmount from the Customer, Item and Hire tables.
(Total Amount is calculated within the query by multiplying DaysHired and HireCost)

II. Show the Lname, Fname, Phone Number and HireCost from the Customer and Rental table WHERE
the result of the query shows total HireCost for each customer without repetition (totalling query).
Sort the query by LastName in Ascending order.

III. Discount DVD wish to identify loyal customers. Develop a query to show details of rentals for
Customers who are described as a “Good Customer”. Your query should display the Customer ID,
Fname, Lname, Suburb.

IV. Create a Parameter Query which displays ClientID, Last Name, First Name and Suburb from the
Client table. This query will request an input for suburb from user before displaying the result for the
required suburb.

V. SELECT Customer ID, Fname, Lname, DateHired FROM Customers, Rental, DVD WHERE
DVDTitle = “Pulp Fiction”

Task 5: Forms – you will need to develop a simple and a Main/Subform


Develop a form to assist with the entry of Customers. [That is develop a form showing all customers]

Develop a form that shows all the rentals for each customer [you will need to add fields from customer,
rentals and possibly DVD. Once you do Access will recognise it as a potential main/subform]

Task 6: Reports – you will need to develop a simple report


Develop a report which shows details of suppliers.

BCO 1102 Information Systems for Business Database Challenge Practice Semester 2, 2012 Page 2
Develop a report that shows the DVDs supplied grouped by each supplier [this will involve adding the
supplier details and then the Title and Description of the DVD from the DVD table. Access will recognise it
as a potential group report and you will need to select accordingly]

BCO 1102 Information Systems for Business Database Challenge Practice Semester 2, 2012 Page 3

You might also like