Question
Q3: Consider the following subset of a database schema: EMP(ENO, ENAME, TITLE) , ASG(ENO, PNO, RESP, DUR) and the following simple user query: Find the
Q3: Consider the following subset of a database schema: EMP(ENO, ENAME, TITLE) , ASG(ENO, PNO, RESP, DUR) and the following simple user query: "Find the names of employees who are managing a project" The expression of the query SQL syntax is: " Select ename from emp, asg where emp. eno = asg.eno and resp = 'manager' " Two equivalent relational algebra queries that are correct transformations of the query above are: Assume that relations EMP and ASG are horizontally fragmented, where Fragments ASG1, ASG2, EMP1, and EMP2 are stored at sites 1, 2, 3, and 4, respectively, and the result is expected at site 5. Calculate: The total cost of strategy A ?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started