mysql: select concat(str1,str2,str3) from 表; -- concat可以带多个参数
oracle : select concat(str1,str2) from 表; -- concat只能带两个参数
select str1||str2||str3 from 表; -- || 可以多个拼接
SQLServer:+ --(还未测试)
sql将查询结果将多列合并成一列
最新推荐文章于 2023-06-29 15:19:15 发布