I need a quick hand updating every row in a table.
I know you need to do a loop and pass Unique ID info on to the update statement. I just don't know how to do that in SQL.
Below is what I want to do to each row in the table.
Table = XYZ
Column_1 = ID(Unique)
Column_2 = X
Column_3 = Z
UPDATE XYZ
SET Column_3 = Column_2