Posts by Thiago Luciano • 46 points
1 post
-
3
votes1
answer66
viewsA: Select dates based on the total sum of a given column
Fala Marlon, I believe you need something like this: SELECT t.restaurante, SUM(t.quantidade) AS quantidade, t.dataReserva FROM teste t WHERE t.dataReserva >= NOW() GROUP BY t.dataReserva,…