Question: Section 2: This section covers query optimization (40 points) 1. Using the following schema: Suppliers(sid, sname, address) Parts(pid, pname, color) Catalog(pid, sid, cost, rating) consider

 Section 2: This section covers query optimization (40 points) 1. Using

Section 2: This section covers query optimization (40 points) 1. Using the following schema: Suppliers(sid, sname, address) Parts(pid, pname, color) Catalog(pid, sid, cost, rating) consider the following query: SELECT s.sname, c.cost FROM suppliers s, parts p, catalog c WHERE p.pid c.pid AND c.sid s.sid AND s.snameOrion' AND p.colorblack' AND p.pid > 100; a) (10 pts) Draw a query tree using selection, projection and cross product (???). b) (10 pts) Draw a query tree that optimizes the SQL query using pushing selections

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!