Question: just solve question number five Activity 2: Consider the employee database of Figure 3.2. Give an expression in the relational algebra to express each of
Activity 2: Consider the employee database of Figure 3.2. Give an expression in the relational algebra to express each of the following queries: 1) Find the ID and name of each employee who does not work for "BigBank". 2) Find the ID, name, and city of residence of each employee who works for "BigBank". 3) Find the ID, name, street address, and city of residence of each employee who works for "BigBank" and earns more than $10000 4) Find the ID and name of each employee in this database who lives in the same city as the company for which she or he works 5) Find the ID and name of each employee who earns at least as much as every employee in the database. employee (persoame, street, City) works (persor/iame, companyame, salary) company ( Celty) Figure 3.2: Employee database
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
