Question: SELECT E _ Fname, E _ Lname FROM EMPLOYEEs WHERE NOT EXISTS ( SELECT 1 FROM research WHERE EMPLOYEEs.Research _ ID = research.Research _ ID
SELECT EFname, ELname
FROM EMPLOYEEs
WHERE NOT EXISTS
SELECT
FROM research
WHERE EMPLOYEEs.ResearchID research.ResearchID
;
for this query optimize it using tree:
a Specify the initial canonical query tree that corresponds to the query.
b Use queryprocessing steps to construct the suitable query tree for each SQL statement.
i Remove duplicate projection
ii Remove unnecessary group concatenation
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
