I am trying to update a table, but my query is not correct. I don't know where I am making a mistake. Here it is:
UPDATE employee
SET image = '123.jpg'
WHERE employee.emp_id=personal_data.emp_Id;
Where emp_Id is a primary key in personal_data table and a foreign key in employee table .