1.分组函数
mysql:group_concat(字段名)
达梦:WM_CONCAT(字段名)
2.分组
mysql:
select id as userId,name from user group by userId;
达梦:
select id as userId,name from user group by id,name;
1.分组函数
mysql:group_concat(字段名)
达梦:WM_CONCAT(字段名)
2.分组
mysql:
select id as userId,name from user group by userId;
达梦:
select id as userId,name from user group by id,name;