SQlite query to update column and replace a value
问题 I want to update a column that contains a string like 12,43,433 I want to only replace 43 with another number say 54 so that the column value becomes 12,54,433. How can I do that?? 回答1: Storing lists as strings is a very bad idea. SQL has a great data structure for storing lists. It is called a table, not a string. The proper way to store lists is to use a junction table. Sometimes we are stuck with other people's really bad design decisions. If so, you can do: update t set col = trim(replace