Advertisements
Advertisements
Question
An organisation wants to create a database EMPDEPENDENT to maintain the following details about its employees and their dependent.
EMPLOYEE(AadharNumber, Name, Address, Department, EmployeeID)
DEPENDENT(EmployeeID, DependentName, Relationship)
The company wants to retrieve details of the dependent of a particular employee. Name the tables and the key which are required to retrieve this detail.
One Line Answer
Solution
Employee and Dependent tables linked via key EmployeeId
shaalaa.com
Keys in a Relational Database
Is there an error in this question or solution?