1.

Which one of the following attribute can be taken as a primary key?(a) Name(b) Street(c) Id(d) DepartmentI have been asked this question during an interview.I would like to ask this question from Keys in chapter The Relational Model of Database Management

Answer»

Correct answer is (c) Id

The BEST I can explain: The attributes NAME, street and department can REPEAT for some tuples. But the id attribute has to be UNIQUE. So it forms a primary KEY.



Discussion

No Comment Found

Related InterviewSolutions