Posts by Jonathan dos Santos • 101 points
1 post
-
0
votes0
answers259
viewsQ: Grouping SUMS by date in Postgresql
I’m trying to make a pick up the orders totals grouped by date as follows SELECT sum(pit.preco) AS preco, sum(pit.quantidade) AS quantidade FROM cliente c LEFT JOIN erp_pedido ped ON ped.id_cliente…