How do I count the same results and add the amount up front?
For example:
Currently the records in my table look like this:
Id | Nome
------------
0 | Teste
1 | Teste
2 | Teste
I want to give DISTINCT
to them and leave them like this:
Id | Nome
------------
0 | Teste(3)
SQLFIDDLE for testing
I am using MySql
!