Question: Show how the query plan shown below is optimized by the DBMS based on query optimization using heuristics The initial query plan generated by the

Show how the query plan shown below is optimized by the DBMS based on query optimization using heuristics


 The initial query plan generated by the SQL query parser of the DBMS is show below

Query:

SELECT Lname

FROM EMPLOYEE, WORKS_ON, PROJECT

WHERE Pname=‘Aquarius’ AND Pnumber=Pno AND Essn=Ssn

AND Bdate > ‘1957-12-31’;

(a) EMPLOYEE Lname | Pname='Aquarius' AND Pnumber=Pno AND Essn=Ssn AND Bdate>'1957-12-31' 1

(a) EMPLOYEE Lname | Pname='Aquarius' AND Pnumber=Pno AND Essn=Ssn AND Bdate>'1957-12-31' 1 WORKS ON PROJECT

Step by Step Solution

3.46 Rating (153 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

optimized Query EMPLOYEE Tom Pn... View full answer

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!