Which field in the employee table should be the primary key


Phil has been asked to create a database for his company. The purpose of the database is to track employees and the projects on which the employees work. A project can have between 3 and 7 employees assigned to it. He has determined that he needs the following tables:

Employee (Social Security Number, Employee Name, Street Address, City, State, Postal Code, Date Hired, Hourly Pay Rate, Project Code)

Project (Project Code, Project Name, Completion Date)


a. Which field in the Employee table should be the primary key? Why?
b. Which field in the Project table should be the primary key? Why?

Now that Phil has created the tables and determined the primary and foreign keys, he needs to determine the data types for the fields in each table.


c. What data type should Phil use for the Hourly Pay Rate field? Why?
d. What data type should Phil use for the Social Security Number field? Why?

Request for Solution File

Ask an Expert for Answer!!
Other Subject: Which field in the employee table should be the primary key
Reference No:- TGS0777019

Expected delivery within 24 Hours