mysql 连接两列

以下划线符号,连接两列,作为查询结果:

SELECT CONCAT(col_1,'_',col_2) FROM yourtable

posted @ 2016-10-11 16:22  jiafeng  阅读(2680)  评论(0编辑  收藏  举报