SQL - Views
You have a view defined as:
Attempting to update
CREATE VIEW emp_dept AS SELECT e.id, e.name, d.name AS dept_name FROM employees e JOIN departments d ON e.dept_id = d.id;
Attempting to update
dept_name through this view causes an error. What is the main reason?