Update query using sql only partially working

Printable View