Q. Is there any error in the following MySQL statement?
SELECT e.emp_id, e.fname,e.lname,d.name
FROM employee AS e INNER JOIN department AS d
ON e.dept_id=e.dept_id;
β
Correct Answer: (A)
NO
Explanation: This question asks if there's an error in a MySQL query. Let's break down the query and see if anything is wrong: