How to rectify this using a single update query

Printable View