What would be the proper syntax used to run an update query on a table to remove all spaces from the values in a column?
My table is called users and in
users
You can include a condition to update only values that need it with the replace.
UPDATE users SET fullname = REPLACE(fullname, ' ', '') WHERE fullname ~* ' ';
Quick and dirty