首页  >  文章  >  数据库  >  mysql-MySQL中的group_concat函数怎么用sybase实现?

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

WBOY
WBOY原创
2016-06-06 09:39:381473浏览

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的?

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn