Question: CLEAR HANDWRITING PLEASE 3. Practice exercise 6.2 from the textbook. Given following schemas EMPLOYEE(PERSONNAME, STREET, CITY), WORKS(PERSONNAME, COMPANYNAME, SALARY), COMPANY(COMPANYNAME, CITY), and MANAGES(PERSONNAME, MANAGERNAME), write

CLEAR HANDWRITING PLEASE
3. Practice exercise 6.2 from the textbook. Given following schemas EMPLOYEE(PERSONNAME, STREET, CITY), WORKS(PERSONNAME, COMPANYNAME, SALARY), COMPANY(COMPANYNAME, CITY), and MANAGES(PERSONNAME, MANAGERNAME), write relational algebra expressions for the following queries. a) Find the names of all employees who live in the same city and on the same street as do their managers. b) Find the names of all employees in this database who do not work for First Bank Corporation (assuming that all people work for exactly one company and people are allowed to appear in the database (e.g. in EMPLOYEE) but not appear in WORKS.) Find the names of all employees who earn more than every employee of "Small Bank Corporation". c)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
