SQL CONCAT 函数: 用于将两个字符串连接起来, 形成一个单一的字符串.
举例:
查询当前系统时间
正常查询: select current_date ;
添加前缀: select CONCAT("系统时间:",current_date);
添加后缀: select CONCAT(current_date,",aaa");
来源: http://www.bubuko.com/infodetail-3109992.html