You are on page 1of 2

Unit 2 Assignment 1 (1 Data File is needed Pizza Palace Logo)

The owner of Pizza Palace wants to use a relational database to store information on the
companys employees and payroll.
a) Create a relational database naming it Pizza Payroll.
b) Create an Employees table for storing employee data (set this up in Design View):
Field Name
EmployeeID
(primary key field)
FirstName
LastName
Address
City
State
Zip
Phone

Data Type
Text

Description
ID of employee

Size
2

Text
Text
Text
Text
Text
Text
Text

First name of employee


Last name of employee
Street address of employee
City employee lives in
State employee lives in
Zip code of employee
Phone number of employee

15
30
50
15
2
10
14

c) Create a Payroll table for storing payroll data:


Field Name
EmployeeID
(primary key
field)
Date
(primary key
field)
GrossPay

Data Type
Text

Description
ID of employee

Date/Time

Date of paycheck

Currency

Taxes

Currency

Employees gross
pay
Tax deductions

Size Format
2

Decimals

Short date

2
2

The EmployeeID and Date fields are a multiple-field primary key because there can be
only one record for a specific employee on a specific date.
d) Create an Employees form and enter the following five records:
EI; Edna; Incahatoe; 254 20th St.; Armine; CT; 19154-7901; (332) 555-1765
JF; Jess; Frank; 101 Red Villa Circle; Armine; CT; 19154-7901; (332) 555-2792
RD; Rita; DiPasquale; 5672 56th Ct.; Weidner; CT; 19165-3342; (332) 555-0276
TW; Thomas; Warner; 11 Roni Dr.; Weidner; CT; 19165-3342; (332) 555-2665
WF; Wimberly; Franco; 86 Luther Ct.; Weidner; CT; 19165-9088; (332) 555-1711
e) Create a Payroll form and enter the following 9 records:

EI; 3/13/06; 244; 36.60


EI; 3/20/06; 254; 38.10
JF; 3/20/06; 191.67; 28.75
RD; 3/6/06; 175; 26.25
RD; 3/13/06; 180; 27
TW; 3/6/06; 210.24; 31.53
TW; 3/13/06; 225.64; 33.84
WF; 3/13/06; 187.82; 28.17
WF; 3/20/06; 195.25; 29.28

f) You should have the records above showing up in the appropriate tables also. If not,
make sure to go in and enter in the record information into your tables.
g) Appropriately modify the Employees and Payroll forms to include the Pizza Palace Logo,
which is an image data file that is provided for this assignment.
h) Save your modified database file (Pizza Payroll).
i) For this assignment, you will upload the one completed database file called Pizza
Payroll.

You might also like