在日常工作中会用到数据库的各种函数,这次换成达梦,发现MySQL的group_concat无法在达梦直接使用,
MySQL的代码如下:
select group_concat(xx) from table group by xxx
查询达梦相关资料发现,可以使用wm_concat代替实现,避免忘了,特此记录:
select wm_concat(xx) from table group by xxx
在日常工作中会用到数据库的各种函数,这次换成达梦,发现MySQL的group_concat无法在达梦直接使用,
MySQL的代码如下:
select group_concat(xx) from table group by xxx
查询达梦相关资料发现,可以使用wm_concat代替实现,避免忘了,特此记录:
select wm_concat(xx) from table group by xxx