1.

Which of the following can be used as a primary key entry of the instructor relation.(a) DEPT_NAME(b) NAME(c) ID(d) All of the mentionedI had been asked this question in semester exam.This is a very interesting question from Querying database part-1 DDL in section Database Systems Design and Implementation of Database Management

Answer»

Right answer is (c) ID

Explanation: The value ID can only be primary key UNLIKE dept_name which is used as a FOREIGN key.



Discussion

No Comment Found

Related InterviewSolutions