1、列合并
select concat(firstName,lastName) from tj_user
2、行合并
select GROUP_CONCAT(firstName),GROUP_CONCAT(lastName) from tj_user;