Which of the following demonstrates the correct way to perform an UPDATE using a writable CTE in PostgreSQL?
AWITH updated AS (UPDATE employees SET salary = salary * 1.1 WHERE department = 'Sales' RETURNING *) SELECT * FROM updated;
BWITH updated AS (SELECT * FROM employees WHERE department = 'Sales') UPDATE employees SET salary = salary * 1.1 WHERE department = 'Sales';
CUPDATE employees SET salary = salary * 1.1 WHERE department = 'Sales' WITH updated AS RETURNING *;
DWITH updated AS (UPDATE employees SET salary = salary * 1.1) SELECT * FROM employees WHERE department = 'Sales';