Q2: The following query tree is given for the bank database. Assume the Account
ID: 658508 • Letter: Q
Question
Q2: The following query tree is given for the bank database.
Assume the Account table has an index on column bname and has 3 levels. Also assume the selectivity of the SL on Bal is 10% and the of SL on Bcity is 30%. What is the CPU cost of this query tree in terms of the number of rows processed for the following two cases? Case I: the join uses the Nested-Loop approach without the use of the index Case II: the join uses the Nested-Loop approach utilizing of the index on column bname of the Branch table.
Account Branch SL ed 1200 Bal1200 JN SL PJ Cname, B