Question: SELECT E _ Fname, E _ Lname FROM EMPLOYEEs WHERE NOT EXISTS ( SELECT 1 FROM research WHERE EMPLOYEEs.Research _ ID = research . Research

SELECT E
_
Fname, E
_
Lname
FROM EMPLOYEEs
WHERE NOT EXISTS
(
SELECT
1
FROM research
WHERE EMPLOYEEs.Research
_
ID
=
research.Research
_
ID
)
;
for this query optimize it using tree:
a
)
Specify the initial canonical query tree that corresponds to the query.
b
)
Use query
-
processing 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 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!