Skip to content

Instantly share code, notes, and snippets.

@viebig
Created August 20, 2015 14:44
Show Gist options
  • Save viebig/a4b7be13a18f8a889252 to your computer and use it in GitHub Desktop.
Save viebig/a4b7be13a18f8a889252 to your computer and use it in GitHub Desktop.
Mysql Group Contact
SET group_concat_max_len = 204800;
SELECT id, GROUP_CONCAT(message SEPARATOR ', ')
FROM messages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment