CBSE · 083Class XII · 2025Section B1 mark

Question 27i

4 March 2025 · Computer Science (083)

Nisha is assigned the task of maintaining the staff data of an organization. She has to store the details of the staff in the SQL table named EMPLOYEES with attributes as EMPNO, NAME, DEPARTMENT, BASICSAL to store Employee's Identification Number, Name, Department and Basic Salary respectively. There can be two or more Employees with the same name in the organization.

(i) (a) Help Nisha to identify the attribute which should be designated as the PRIMARY KEY. Justify your answer

Answer

EMPNO. It is unique for every employee.

Explanation

Primary keys must be unique and not null. Employee Number is the standard identifier.