I have a table with these values:
Name | id
----------------
Blue guy | 20
Green girl | 10
The id
column is a unique value. What I want is to update blue guy id to 10 and in that same query I want to update green girl id to 20. My current SQL
query is:
UPDATE colorpeople SET id = 20
WHERE name = 'Blue guy';
Where can I specify to update the green girl to?