Posts by Mauro Lacerda • 1 point
1 post
-
0
votes4
answers11110
viewsA: How to group SQL results by month and year?
SELECT extract(month FROM nome_campo) mes, extract(year FROM nome_campo) ano FROM datas GROUP BY extract(month FROM nome_campo), extract(year FROM nome_campo) …