Question: This problem is based on Elmasri's company database, In each of these SQL queries, there is a mistake. Explain clearly and briefly what the mistake

This problem is based on Elmasri's company database, In each of these SQL queries, there is a mistake. Explain clearly and briefly what the mistake is. Please note that I am not looking for a minor SQL syntax error here, but rather you have to find a significant semantic (logic) error. . Give the correct SQL for specifying the query (a) Find the names of the employees who do not work on any project (SELECT FNAME, LNAME FROM EMPLOYEE) EXCEPT (SELECT FNAME, LNAME FROM EMPLOYEE, WORKS_ON WHERE EMPLOYEE. SSN = WORKS-ON, ESSN ); (b) Find the social security number of employee with the lowest salary SELECT SSN FROM EMPLOYEE WHERE SALARY
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
