Photo AI

4.1.1 In the tblEmployees table the ID field is intended to save the identity number of the employee, for example 021205510708 - NSC Information Technology - Question 4 - 2017 - Paper 2

Question icon

Question 4

4.1.1-In-the-tblEmployees-table-the-ID-field-is-intended-to-save-the-identity-number-of-the-employee,-for-example-021205510708-NSC Information Technology-Question 4-2017-Paper 2.png

4.1.1 In the tblEmployees table the ID field is intended to save the identity number of the employee, for example 021205510708. Give ONE reason why it would be inco... show full transcript

Worked Solution & Example Answer:4.1.1 In the tblEmployees table the ID field is intended to save the identity number of the employee, for example 021205510708 - NSC Information Technology - Question 4 - 2017 - Paper 2

Step 1

4.1.1 Give ONE reason why it would be incorrect for this field to be an integer data type.

96%

114 rated

Answer

One reason the ID field should not be an integer data type is that it may contain leading zeros. If the ID were stored as an integer, those leading zeros would be lost, resulting in an incorrect representation of the identity number.

Step 2

4.1.2 Explain why none of the other fields in this table would be a suitable primary key.

99%

104 rated

Answer

None of the other fields in the tblJobCards table would be suitable as primary keys because they can contain duplicate values. Only the JobCardNumber is guaranteed to be unique across the table.

Step 3

4.1.3 Motivate this suggestion.

96%

101 rated

Answer

Including the NumDaysTaken field is necessary because it provides crucial information about the duration of each job. This allows for better tracking of workload and resource allocation in managing the maintenance tasks.

Step 4

4.1.4(a) The field that must be added.

98%

120 rated

Answer

EmployeeID

Step 5

4.1.4(b) The table this field must be added to.

97%

117 rated

Answer

tblJobCards

Join the NSC students using SimpleStudy...

97% of Students

Report Improved Results

98% of Students

Recommend to friends

100,000+

Students Supported

1 Million+

Questions answered

;