Question: consider another query Q : For each department, retrieve the department name and the department manager's name. This can be stated as follows in the
consider another query Q: For each department, retrieve the department
name and the department manager's name.
This can be stated as follows in the relational algebra:
FnameLname,DnameDEPARTMENT MgrssnSsn EMPLOYEE
Again, suppose that the query is submitted at site The same three strategies for
executing query Q apply to Q except that the result of Q includes only records,
assuming that each department has a manager:
Transfer both the EMPLOYEE and the DEPARTMENT relations to the result
site, and perform the join at site
Transfer the EMPLOYEE relation to site execute the join at site and send
the result to site
Transfer the DEPARTMENT relation to site execute the join at site and
send the result to site
Which strategy is better? Show your computations.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
