Consider the following Relational schema:
Employees (EId, Name, Salary, DId, MgrId) (Where Mgr is also an employee.)
Projects (PId, PName, Description)
Works_on (EId, PId, Hours)
Departments (DId, Location)
Write relational algebra expressions for the following queries:
a) List the names of projects that have employees from the research department and are working less than 8 hours.
b) List the names of employees with a salary higher than their manager.
c) List the names of employees working on two projects with names X and Y.
d) List the names of employees who have a salary higher than Rs 50,000 and do not work on any project.