首頁  >  文章  >  資料庫  >  mysql-MySQL中的group_concat函数怎么用sybase实现?

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

WBOY
WBOY原創
2016-06-06 09:39:381438瀏覽

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