Question: Based on the E-R model below, review the following SQL queries and determine (1) whether or not the two queries will produce the same results

Based on the E-R model below, review the following SQL queries and determine (1) whether or not the two queries will produce the same results and (2) provide an explanation of your answer: 1. SELECT * FROM Employee LEFT JOIN Employee_Deppt ON employee_id = fk_employee_id LEFT JOIN Department ON fk_dept_id = dept_id 2. SELECT * FROM Employee RIGHT JOIN Employee_Dept ON employee_id = fk_employee_id RIGHT JOIN Department ON fk_dept_id = dept_id
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
