Chapter 2: Problem 11
Set the composite primary key for the Course table. To do this you first select one field, and then while holding the Control key down select the other field. With both fields selected, click the Primary Key button: 1\. Select the deptCode (click to the left of the deptCode field). 2\. To select the next field to be part of the PK: while holding the Control key down, click the courseNo field (and now release the Control key). 3. Next, click the Primary Key icon. You will now see the key image beside both fields as in: If MS Access rejects your primary key then you must examine the values you previously entered for deptCode and courseNo - there must be some duplicated value. If this happens open the table in Datasheet View and examine the rows to find duplicate values of the combination \{deptCode, courseNo\}. Once MS Access has accepted your primary key you should open the table in datasheet view and experiment: How does MS Access respond if you try to create a new row with an existing primary key value?
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.