English

Nisha is assigned the task of maintaining the staff data of an organization. She has to store, Help Nisha to identify the attribute which should be designated as the PRIMARY KEY. Justify your answer. - Computer Science (Python)

Advertisements
Advertisements

Question

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.

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

Code Writing
Justify
Advertisements

Solution

EMPNO: The employee name can be duplicated.
shaalaa.com
  Is there an error in this question or solution?
2024-2025 (March) Set 4

APPEARS IN

Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×