Posts by Ana Paula Sontachi • 23 points
1 post
-
2
votes1
answer760
viewsQ: SQL Sum by periods
I’m having a question to assemble a query, following: In my sales chart I would like to return the sum per product period. Today I am doing this way: select YEAR(venda.data_venda) as Ano,…