I have got a table that got a column with duplicate values. I would like to update one of a 2 duplicate values so for example row1 = tom and row2 = tom
row1 = tom
row2 = tom
Using sub-queries might work:
UPDATE table1 SET STATUS = 'F' WHERE column1= (SELECT (column1) FROM table1 GROUP BY column1 HAVING (COUNT(column1 ) > 1))