green plum
string_agg(column,tag)
SELECT string_agg(c_dz,',') FROM "db_ajzj"."d_fy" group by n_fyjb;
petabase
group_concat(column,tag)
SELECT group_concat(c_dz,',') FROM "db_ajzj"."d_fy" group by n_fyjb;
string_agg(column,tag)
SELECT string_agg(c_dz,',') FROM "db_ajzj"."d_fy" group by n_fyjb;
group_concat(column,tag)
SELECT group_concat(c_dz,',') FROM "db_ajzj"."d_fy" group by n_fyjb;
本文标题:各个数据行转列行数汇总
本文链接:https://www.haomeiwen.com/subject/amkxbftx.html
网友评论