384 views
0 votes
0 votes

Consider the relational database given below, where the primary keys are
underlined. Give an expression in the relational algebra to express each of
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”.
c. Find the names of all employees who earn more than every employee
of “Small Bank Corporation”.

here is the database

employee (person name, street, city )
works (person name, company name, salary)
company (company name, city)
manages (person name, manager name)

Please log in or register to answer this question.

Related questions