+1 (208) 254-6996 [email protected]
  

Part A.

Please use the database you created in the Week 4 Assignment.

Don't use plagiarized sources. Get Your Custom Essay on
PLAGIARISM FREE “A” WORK DATA MANAGEMENT FINAL PROJECT
Just from $13/Page
Order Essay

1) Create a matrix to indicate permissions (read, insert, delete, modify) you would grant to different users of your database.

2) Create at least two different users and implement their permissions using SQL statements.

Part B.

“Consider the following normalized relations for a database in a large retail store chain:

STORE (Store_ID, Region, Manager_ID, Square_Feet)

EMPLOYEE (Employee_ID, Where_Work, Employee_Name,

Employee_Address)

DEPARTMENT (Department_ID, Manager_ID, Sales_Goal)

SCHEDULE (Department_ID, Employee_ID, Date)

Assume that a data communications network links a computer at corporate headquarters with a computer in each retail outlet. The chain includes 50 stores with an average of 75 employees per store. There are 10 departments in each store. A daily schedule is maintained for five months (the previous two months, the current month, and next two months). Further assume that:

a) Each store manager updates the employee work schedule for her or his store roughly five times per hour.

b) The corporation generates all payroll checks, employee notices, and other mailings for all employees for all stores.

c) The corporation establishes a new sales goal each month for each department.

d) The corporation hires and fires store managers and controls all information about store managers; store managers hire and fire all store employees and control all information about employees in that store.

1) Would you recommend a distributed database, a centralized database, or a set of decentralized databases for this retail store chain? Please explain why.

2) Assuming that some form of distributed database is justified, what would you recommend as a data distribution strategy for this retail store chain?” (Hoffer, Prescott, & Topi, 2009, p. ch.14 – 29).  

NORMALIZATION 1

Document involving customer orders Order Number Order Date Customer Number

51608 10/12/2015 126

51610 10/12/2015 334

51613 10/13/2015 386

51614 10/13/2015 260

51617 10/15/2015 586

51619 10/15/2015 126

51623 10/16/2015 586

Question One: Conversion of the User View to a Set of Relations While applying the normalization steps, the above set of view may be converted to bring about a

set of associations and this will appear in the third normal form. The user view will appear as

follows.

Order Number Date of ordering Customer Number

51608 10/12/2015 126

51619 10/15/2015 126

51614 10/13/2015 260

51610 10/12/2015 334

51613 10/13/2015 386

51617 10/15/2015 586

51623 10/16/2015 586

NB: As per Topi in 2009, normalization entails arrangement of a given set of data and as per the

above normalization, the set of views has been arranged by considering the order number and

then trying to characterize the related number so that the related numbers may follow each other.

NORMALIZATION 2

Question Two: The drawing of a Relational Schema

A

A relational schema tries to reveal the essential relationship between the involved items.

Therefore, in this case, it has been used to show the important association between the three

items. Since the order number is the key item of consideration, then it has been placed between

the other items so that it might act as a point of reference.

Question Three: Various Integrity Rules to Recommend

As a way of ensuring the privacy of the data within the above applications, various integrity rules

exist, and they are those that are intended to ensure that the data has not been interfered with.

One of them is that the data must be protected against any form of intrusion. The other one is

ensuring that it is only the recommended individuals who can access it, and this is also a sure

way of ensuring that it has been protected.

Order Number Date of ordering Customer Number

NORMALIZATION 3

Reference

Hoofer, Prescott & Topi. (2009). Normalization and denormalization of databases. P. 250

Order your essay today and save 10% with the discount code ESSAYHELP