Primary Key: An attribute/column among the Candidate Keys which is used to uniquely identify each row/record in a table
9 questions · timed · auto-graded
Primary Key: An attribute/column among the Candidate Keys which is used to uniquely identify each row/record in a table
Example:
Rollnumber in the table STUDENT
OR
AccessionNumber in the table LIBRARY
OR
EmpNumber in the table EMPLOYEE
OR
PanNumber in the table INCOMETAX OR
MemberNumber in the table MEMBER OR
AccNumber in the table BANK
Alternate Key: All such attributes/columns, which can act as a primary key but are not the primary key in a table.
DML – Data Manipulation Language
(i) SELECTION (ii) PROJECTION (iii) UNION (iv) CARTESIAN PRODUCT, which has been used to produce the output as shown in RESULT ? Also, find the Degree and Cardinality of the RESULT.
Degree = 2
Cardinality = 1
Degree of LIST = 4
Cardinality of LIST = 6
(i) SELECTION (ii) PROJECTION (iii) UNION (iv) CARTESIAN PRODUCT, which has been used to produce the output FINAL RESULT as shown below, Also, find the Degree and Cardinality of the final result.
DEGREE = 5
CARDINALITY = 9