Consider the following table: Employee
Emp_id |
Name |
Salary |
Designation |
E01 |
Kajal |
78000 |
Manager |
E02 |
Rahul |
50000 |
Sales Executive |
E03 |
Tarun |
55000 |
Clerk |
a. Emp_id, Name,Salary, Designation
b. Emp_id
c. Combination of Emp_id and Name
d. Primary Key: Unique identifier for each row in a table, cannot be NULL.
Example: Emp_id in Employees.
Foreign Key: Links to a primary key in another table, establishing relationships. Example: Emp_id in Orders referencing Emp_id in Employees