Primary key - Database

Q.  Database: Which of the following fields in a student file can be used as a primary key?
- Published on 29 Jun 15

a. class
b. Social Security Number
c. GPA
d. Major

ANSWER: Social Security Number
 
The primary key is a unique identifier and it is unique for each record. Here the social security number is unique as each student is identified by that and there will be no duplications.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)