You can use:
SELECT SUBSTRING_INDEX('TACOMA, Washington, 98477', ',', 2)
You can read it here.
And the update statement:
UPDATE my_table SET my_col = SUBSTRING_INDEX(my_col, ',', 2)
If you need to replace my_table with the table name and my_col with the column that needs to be updated.
Stephan
source share