Posts by Eberson Henrique da Silva Dias • 1 point
1 post
-
-1
votes2
answers76
viewsA: Select mysql of a ranking
SELECT Doador, SUM(Valor) as TotalDoado, MAX(Data) as UltimaDoacao FROM Doacoes GROUP BY Doador LIMIT 10;
1 post
-1
votes2
answers76
viewsSELECT Doador, SUM(Valor) as TotalDoado, MAX(Data) as UltimaDoacao FROM Doacoes GROUP BY Doador LIMIT 10;