摘要:
SELECT GROUP_CONCAT(b.name) AS 'name' FROM ( SELECT CONCAT(a.jobs,':',a.name) AS 'name',a.data_id AS 'data_id' FROM ( SELECT CASE bp.jobs WHEN 1 THEN 阅读全文
摘要:
1/去掉字段里的逗号.(比如set @= '1,320.00' 想得到@= '1320.00' )UPDATE table SET fieldA = REPLACE(fieldA, ',', '') 2/选择 SELECT REPLACE(fieldA, ',', '') AS Expr1 FROM 阅读全文