[Relational Model]
1. Please list set R set S.
R = {1, 2, 3, 4}, S = { a, b, c}
2. Please list the relational integrity constraints and explain them.
3. Pleas find out candidate keys from above table.
4. Please find out the primary key from above able.
5. Please find out that whether following operation will be a success or an error.
6. Insert <‘Robert’, ‘F’, ‘Scott’, ‘943775543’, ‘1952-06-21’, ‘2365 Newcastle Rd, Bellaire, MD’, M,
58000, ‘888665555’, 1> to EMPLOYEE.
7. Insert <‘ProductA’, 4, ‘Bellaire’, 2> to PROJECT
8. Insert <Production’, 4, ‘943775543’, ‘1998-10-01’> into DEPARTMENT.
9. Insert <‘677678989’, NULL, ‘40.0’> to WORKS_ON.
10. Delete the WORKS_ON tuples with ESSN = ‘333445555’
11. Delete the EMPLOYEE tuple with SSN = ‘987654321’
12. Delete the PROJECT tuple with Pname = ‘ProductX’.
13. Modify the Mgr_ssn and Mgr_start_date of the DEPARTMENT tuple with Dnumber = 5 to
‘123456789’ and ‘1999-10-01’, respectively
14. Modify the Super_ssn attribute of the EMPLOYEE tuple with SSN = ‘999887777’ to ‘943775543’.
15. Modify the Hours attribute of the WORKS_ON tuple with Essn = ‘999887777’ and Pno = 10 to
‘5.9’