Consider the data distribution of the COMPANY database, where the fragments at sites 2 and 3 are

Question:

Consider the data distribution of the COMPANY database, where the fragments at sites 2 and 3 are as shown in Figure 23.3 and the fragments at site 1 are as shown in Figure 3.6. For each of the following queries, show at least two strategies of decomposing and executing the query. Under what conditions would each of your strategies work well? 

a. For each employee in department 5, retrieve the employee name and the names of the employee's dependents.
b. Print the names of all employees who work in department 5 but who work on some project not controlled by department 5.

Figure 23.3

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Fundamentals Of Database Systems

ISBN: 9780133970777

7th Edition

Authors: Ramez Elmasri, Shamkant Navathe

Question Posted: