mysql 拼接列数据
摘要:
SELECT IF(@ids=w.contract_id,@num:=@num,@num:=@num+1) AS num,@ids:=w.contract_id,w.* FROM (SELECT (SELECT GROUP_CONCAT(project_name) FROM production_i 阅读全文
posted @ 2019-07-02 18:04 江清澜静 阅读(2295) 评论(0) 推荐(0) 编辑