Hi,
I have a list of ''chat users'' in my DB and I want to rename a specific user if possbile. I am using the SELECT * FROM users WHERE nickname='username' and I am stuck here with the next query that needs to be written in order to change nickname. Can anyone help me with this ?
Best.
Rename user in DB
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Sachin SinghRank #66 · 26.2K reputationPosted Oct 27, 2021, 5:01 AM EDT
Srinivasan RamamoorthiRank #877 · 2.5K reputationPosted Oct 27, 2021, 4:54 AM EDT
Vinitha TRank #8,005 · 230 reputationPosted Nov 10, 2021, 7:14 AM EST
To Rename Vinitha to Vini:
Table:
Query to Rename:
UPDATE Employee set EmployeeName='Vini' where EmployeeName='Vinitha';
Table after Renaming: