Reputation: 19
I have a table T like this:
Name(Not unique) Value
A 1
A 3
A 5
A 8
And if I only want to update the 3rd row, how to write the SQL?
Below SQL does not work, it updates all the rows.
update T set Value='10' where Name='A'
Upvotes: 1
Views: 201