wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Which of the following fields in a student file can be used as a Primary Key?

A
Class
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
Social Security Number
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
GPA
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
Major
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is B Social Security Number

Fields in a student file can be used as a primary key is social security number.

A primary key is a special relational database table column designated to uniquely identify all table records. A primary key's main features are: It must contain a unique value for each row of data. It cannot contain null values.

The main purpose of a primary key is to implement a relationship between two tables in a relational database. A primary key is either an existing table column or a column that is specifically generated by the database according to a defined sequence.


flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Downstream Processing
BIOLOGY
Watch in App
Join BYJU'S Learning Program
CrossIcon