Krushna D. answered 01/01/22
Be a MSSQL expert developer
Create non clustered index on EMPLOYEE.num
Create non clustered index on EMPLOYEE.ssn
Create non clustered index on DEPARTMENT.num
Create non clustered index on DEPARTMENT.mgr_ssn
Hello K.
asked 12/17/21Optimize the execution plan of the following query using rule-based optimization.
SELECT P.number, D.num, E.lname
FROM EMPLOYEE E, DEPARTMENT D, PROJECT P
WHERE P.location = ‘Dammam’ AND E.sex = ‘M’ AND D.num = E.num AND D.mgr_ssn = E.ssn;
Krushna D. answered 01/01/22
Be a MSSQL expert developer
Create non clustered index on EMPLOYEE.num
Create non clustered index on EMPLOYEE.ssn
Create non clustered index on DEPARTMENT.num
Create non clustered index on DEPARTMENT.mgr_ssn
Get a free answer to a quick problem.
Most questions answered within 4 hours.
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.