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.
Loading
Sachin SinghPosted Oct 27, 2021, 9:01 AM
Vinitha TPosted Nov 10, 2021, 12:14 PM
To Rename Vinitha to Vini:
Table:
Query to Rename:
UPDATE Employee set EmployeeName='Vini' where EmployeeName='Vinitha';
Table after Renaming:
Srinivasan RamamoorthiPosted Oct 27, 2021, 8:54 AM