标签:blog color from sele bsp img student 技术 nbsp
字符串拼接CONCAT
SELECT CONCAT("姓名:",NAME,"年龄:",age) AS MSG FROM student;
字符串拼接组函数GROUP_CONCAT (可以选择分割符,排序操作)
SELECT GROUP_CONCAT(NAME ORDER BY ID SEPARATOR ‘|‘) as NAME FROM area GROUP BY pId
MySql字符串拼接函数(CONCAT,GROUP_CONCAT)
标签:blog color from sele bsp img student 技术 nbsp
原文地址:http://www.cnblogs.com/zjq-kjdh/p/7975913.html