摘要: UPDATE aaron a, (SELECT SUBSTRING_INDEX(NAME,sname,-2) ssname FROM (SELECT * FROM aaron AS a, (SELECT CONCAT(SUBSTRING_INDEX(NAME,'||',1),'||') AS sname FROM aaron) AS aa) AS aaa) aaaaSET a.name = aaaa.ssname去除c10-1.jpg||/c10-1.jpg||/c10-2.jpg||变为/... 阅读全文
posted @ 2013-02-01 15:31 awinlei 阅读(182) 评论(0) 推荐(0) 编辑