问题 I'm writing a query that selects data from one table into another, one of the columns that needs to be moved is a DECIMAL column. For reasons beyond my control, the source column can sometimes be a comma separated list of numbers. Is there an elegant sql only way to do this? For example: source column 10.2 5,2.1 4 Should produce a destination column 10.2 7.1 4 I'm using MySQL 4, btw. 回答1: To do this kind of non trivial string manipulations, you need to use stored procedures, which, for MySQL,