Which field in the employee table should be the primary key

Assignment Help Other Subject
Reference no: EM13509084

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?

Reference no: EM13509084

Questions Cloud

How far did the car travel during this time : A car movig with an initial velocity of 29.6 m/s decrease to a velocity of 17.9 m/s over a time interval of 4.08 seconds. how far did the car travel during this time
What is mortgage redlining : What are two of the most important payment services provided by financial institutions? To what extent do these services efficiently provide benefits to the economy?
Prepare in good form a balance sheet for the year : Prepare in good form a balance sheet for the year ended December 31, 2011.
Find how many revolutions would the wheel have made : Over the course of a multi-stage 4280-km bicycle race, the front wheel of an athlete's bicycle makes 2.28 106 revolutions. How many revolutions would the wheel have made
Which field in the employee table should be the primary key : Which field in the Employee table should be the primary key? Why?
Why might a manager of a company using absorption costing : why might a manager of a company using absorption costing produce more units then can currently be sold?
Compute the activity rate for each of the activity cost pool : Using the ABC data, determine the total amount of overhead cost assigned to each product. (Do not round intermediate calculations. Round your answers to the nearest dollar amount.)
Increase in revenue reimbursement : Established in 1977, Krona Community Hospital is a 60-bed, acute care hospital located in the heart of Banconota County. With a staff of nearly 100 physicians and specialists, 400 employees, and 75 volunteers, they offer a full range of health ..
Find the max height of the rock during flight : a catapult launches a rock towards a hill 500m away. the rock lands on the hill 20m above the release point of the rock. find the max height of the rock during flight

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd