Advertisements
Advertisements
प्रश्न
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)
- Name the attributes of EMPLOYEE, which can be used as candidate keys.
- 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.
- What is the degree of EMPLOYEE and DEPENDENT relation?
टीपा लिहा
Advertisements
उत्तर
- AadharNumber, EmployeeId
- Employee and Dependent tables linked via key EmployeeId
- Degree of Employee: 5,
Degree of Dependent: 3
shaalaa.com
Keys in a Relational Database
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
