Question: Let's consider a generic schema with two tables: EMPLOYEES ( EmpID , EmpName, Department, Salary, ManagerID ) PROJECTS ( ProjectID , ProjectName, Department, Budget )
Let's consider a generic schema with two tables:
EMPLOYEES EmpID EmpName, Department, Salary, ManagerID
PROJECTS ProjectID ProjectName, Department, Budget
ASSIGNMENTS EmpID ProjectID, HoursWorked
What will be the result of the following queries written in relational algebra?
pi ProjectID, ProjectName, Budget sigma Budget pi AVGBudgetPROJECTS
pi EmpID, EmpName sigma DepartmentITASSIGNMENTS PROJECTScap
sigma Department'Finance' ASSIGNMENTS PROJECTS
Department, AVGHoursWorkedASSIGNMENTS PROJECTSGroup by
Department
pi ManagerID, EmpName EMPLOYEES rho EmpIDManagerID EMPLOYEES
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
