Identity the attribute type for each database table attribute in Figure P1.1. Th
ID: 3839588 • Letter: I
Question
Identity the attribute type for each database table attribute in Figure P1.1. The first line has already been completed. Note that the attribute named STU_NUM is both simple and single valued. Note also that the STU_AGE is a function of the current date. For example, on March 12, 2003, JoAnne R. Hilliard turns 31. Clearly, the STUDENT table shown in Figure P1.1 needs to be updated. You will learn how to let Access perform such an update in Chapter 5. A consulting company trucks its contracts with the help of the CONTRACT table shown in Figure PI.2. Given the CONTRACT table's structure and contents, answer questions (a) and (b). The primary key(s) is (are) ___________ The foreign key(s) is (are) ______________Explanation / Answer
1) Primary key : It could be either CONTRACT_NUM alone or a combination of CONTRACT_NUM and CUS_NUM
2) Foreign key : looking at table structure EMP_NUM looks like to be a foreign key as it may belong to another table like Employee which stores employee information (but no where relates to Student table)
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.