Question: Formulate the following queries in relational algebra, tuple relational calculus, and domain relation calculus. 1. Produce a list of the names of all employees who

 Formulate the following queries in relational algebra, tuple relational calculus, and

Formulate the following queries in relational algebra, tuple relational calculus, and domain relation calculus.

1. Produce a list of the names of all employees who work on the SCCS project

2. Produce a complete list of all managers who are due to retire this year, in alphabetical order of surname.

The following tables form part of a database held in an RDBMS Employee (empNo, fName, IName, address, DOB, sex, position, deptNo) Department (deptNo, deptName, mgrEmpNo) Project (proNo. projName, deptNo) WorksOn (empNo, proiNo, dateWorked, hoursWorked) where Employee contains employee details and empNo is the key. Department contains department details and deptNo is the key. mgrEmpNo identifies the employee who is the manager of the department. There is only one manager for each department. contains details of the projects in each department and the key is projNo (no two departments can run the same project). Project and WorksOn co details of the hours worked by employees on each project, and empNo projNo/dateWorked form the key

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!