Posts by Fabiana Barbosa • 1 point
1 post
-
-1
votes1
answer77
viewsQ: Select TOP 3 of every month
I need to return the top 3 of a query each month: select distinct mes, rubrica, count(*) qtd from boletins group by mes, rubrica order by mes asc, qtd desc; This query above returns about 30 lines…