mysql两列合成一列

2015-07-24 11:10:24 · 作者: · 浏览: 4

比如:有姓和名两列,我想查询的结果为一列。就需要concat关键字了。sql如下:

select concat(firstName,lastName) from tj_user