English

An organisation wants to create a database EMPDEPENDENT to maintain the following details about its employees and their dependent. EMPLOYEE(Aadhar

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)

  1. Name the attributes of EMPLOYEE, which can be used as candidate keys.
  2. 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.
  3. What is the degree of EMPLOYEE and DEPENDENT relation?
Short/Brief Note
Advertisements

Solution

  1. AadharNumber, EmployeeId
  2. Employee and Dependent tables linked via key EmployeeId
  3. Degree of Employee: 5,
    Degree of Dependent: 3
shaalaa.com
Keys in a Relational Database
  Is there an error in this question or solution?
Chapter 8: Database Concepts - Exercise [Page 128]

APPEARS IN

NCERT Computer Science [English] Class 12
Chapter 8 Database Concepts
Exercise | Q 9. | Page 128
NCERT Informatics Practices [English] Class 11
Chapter 7 Database Concepts
Exercise | Q 9. | Page 140
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×