my update statement works fine with INNER JOIN but gives me error when I replace it with LEFT JOIN. HOw can I achieve left join here ?
with cte as ( select * from