I have a database that lists all States in the US. It lists them by the two letter designation though. Like AL instead of Alabama. Now I want to change that in phpmyadmin so Im looking for a query that would work. The table name is "default_table" The field name is "state" So basically replace all AL in field state with Alabama. If you can provide me with the exact query needed Id appreciate it!
You can do it easier if the abbreviated state name is all there is in the "state" field. Then no replace() is necessary, just do update default_table set state='Alabama' where state='AL';