Home » Computer » Miscellaneous » Question
  1. Which of the following statement is true?
    1. A Primary key is also a candidate key
    2. Each relation has at least one foreign key
    3. Foreign keys can’t have null values
    4. A Primary key is also an alternate key
Correct Option: A

Primary Key is a column or a combination of columns that uniquely identify a record. Only one Candidate Key can be Primary Key. For a Candidate Key to qualify as a Primary Key, it should be unique and non-null. So, basically a primary key is just one of the candidate keys, which is a just a minimal super key.



Your comments will be displayed only after manual approval.