Question: Consider the relational database. Give an expression in relational algebra to express each of the following queries: 1.Find the names of all employees who live
Consider the relational database. Give an expression in relational algebra to express each of the following queries:

1.Find the names of all employees who live in the city "Brooklyn".
2.Find the names and cities of residence of all employees who earn a salary of at least $50,000.
3.Find the names of all employees who work for the company "Fedco" and earn a salary of at least $50,000.
4.Find the names and cities of residence of all employees who work for a company located in the city "Brooklyn".
5.Find the number of employees managed by each manager.
6.Find the names of all employees who earn more than every employee of "Small Bank Corporation"
employee (person name, street,city) works (person name, company name, salary) company (company name, city) manages (person.name, manager name)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
