Question: Consider the company database schema given above and especially the number of tuples and pages for each relation. Consider now the following query: Select Bname
Consider the company database schema given above and especially the number of
tuples and pages for each relation. Consider now the following query:
Select Bname
From EMP E Building B InBuilding I
Where EEID and EEID I.EID and BBID I.BID
a points Write this query in the relational algebra.
b points If the database has an unclustered BTree index on EMP.EID, what is the best
plan you can find to execute this query? Show the query plan, including the costs for
each step and the total cost.
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
