COMPUTER FUNDAMENTALS

COMPUTER APPLICATIONS

DATABASE MANAGEMENT SYSTEMS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which key ensure that data in a field must only appear once in the whole table.
A
Candidate key field
B
Foreign key
C
Primary key field
D
Alternate key field
Explanation: 

Detailed explanation-1: -Foreign key columns are frequently used in join criteria when the data from related tables is combined in queries by matching the column or columns in the foreign key constraint of one table with the primary or unique key column or columns in the other table.

Detailed explanation-2: -A table can have only one primary key. Also, we can create a date variable as a primary key in a table. Unique key also determines each row of the table uniquely, but it can take null value into.

There is 1 question to complete.