Created
June 24, 2017 17:37
-
-
Save LeandroLS/8991666b299e18f3719a9bd45738bef2 to your computer and use it in GitHub Desktop.
Post GROUP_CONCAT()noMySQL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT contas.nome AS conta, classificacao.nome AS classificacao FROM contas INNER JOIN classificacao ON classificacao.id = contas.id_classificacao; | |
+-----------------------------+---------------+ | |
| conta | classificacao | | |
+-----------------------------+---------------+ | |
| Salario | receita | | |
| Rendimento de investimentos | receita | | |
| Recebimento de aluguel | receita | | |
| Conta de água | despesa | | |
| Conta de luz | despesa | | |
| Jogos da Steam | despesa | | |
+-----------------------------+---------------+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment