My issue
UPDATE employee
SET department =‘HR’
WHERE employee_id = 02;
My code
/*Write a query to set the Department as 'HR', for the employee with employee_id 2 to the existing table employee. */
UPDATE employee
SET department ='HR'
WHERE employee_id = 02;
Learning course: Learn SQL
Problem Link: CodeChef: Practical coding for everyone