欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

mysql-MySQL中的group_concat函数怎么用sybase实现?

程序员文章站 2022-06-04 16:50:14
...
mysqlsybase

select distinct a.computername,a.mac , GROUP_CONCAT(distinct a.username) as usernames,GROUP_CONCAT(distinct a.userid) as userids from (select distinct nons.* , users.username,client.computername from noncontrol_softwares nons left join users on nons.userid=users.userid left join client on nons.mac=client.mac) as a group by a.mac

怎么将这段MySQL语句转换成sybase的?

相关标签: mysql sybase