Skip to content

Instantly share code, notes, and snippets.

@LeandroLS
Created June 24, 2017 17:05
Show Gist options
  • Save LeandroLS/8cb33777006dcc9e385d55d0a2ddb8bc to your computer and use it in GitHub Desktop.
Save LeandroLS/8cb33777006dcc9e385d55d0a2ddb8bc to your computer and use it in GitHub Desktop.
Post GROUP_CONCAT()noMySQL
SELECT nome FROM CONTAS;
+-----------------------------+
| nome |
+-----------------------------+
| Salario |
| Rendimento de investimentos |
| Recebimento de aluguel |
| Conta de água |
| Conta de luz |
| Jogos da Steam |
+-----------------------------+
6 rows in set (0.00 sec)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment