Friday, January 17, 2014

MYSQL listing all the items that are grouped together - Group_Concat statement

1
2
3
4
SELECT server,
group_concat(user SEPARATOR ',') AS logged_in_users
FROM logged_in
GROUP BY server;

No comments:

Post a Comment