我有一个表,其中包含3列,fname Lname和description。我想获取Fname和Lname的值,并将它们附加到description中(将此数据移动到description字段的末尾,而不覆盖字段中的当前信息)。对于MySQL来说,这是可能的吗?
发布于 2012-10-15 19:43:55
Please update function as per req...and concatination of string :
Here Concat function is used for concat string..:update table_name set description = CONCAT(description,‘',fname,’',Lname);
发布于 2012-10-15 19:42:48
update your_table_name set description = CONCAT(description,' ', fname,' ',Lname); https://stackoverflow.com/questions/12894834
复制相似问题