2
Table
ID jogada pontos
1 1 3
1 1 1
2 5 1
2 5 1
2 5 3
2 5 3
I wanted to create a query that COUNTS the playing lines and ADDS the total of points, but that indicates the sum by repeating the "ID" like this:
Return I hope:
ID contar_jogada somar_pontos
1 2 4
2 4 8