1.

Consider the instance of the EMPLOYEE relation shown in the following table. Identify the attributes, degree, cardinality and domain of Name and Emp_code.  EmpCode  Name  Department  Designation  Salary1000SudheeshPurchaseManager250001001DhanyaSalesManager250001002FathimaMarketingClerk120001003ShajanSalesClerk13000

Answer»

Attributes- These are column names, i.e, Emp_Code, Name, Department, Designation and Salary Degree(CD) - the number of Columns is the Degree i. e Degree is 5(Here 5 columns)

Cardinality (RC)-: the number of Rows is the Cardinality i. e. Cardinality is 4(Here 4 rows) Domain is the pool of possible values Domain of Name is a String(Sudheesh, Dhanya, Fathima, Shajan.etc) Domain of Emp_Code is a number (1000,1001,1002, 1003, etc)



Discussion

No Comment Found