-1
I have a table requests and would like to return to the following situation.
select all orders of a current month idClient by summing the values of the same. type select * from pedidos where idCliente = id and dataPedido
(search month type 10/2018) sum(valortotalPedido)
I’m not getting because the date field in mysql is as follows 2018-10-01 22:02:01 or is standard format. I don’t know if I was clear but I appreciate anyone who can help
The Mysql field is perfect. Things work exactly in this format, what is missing is you use proper logic in comparison (which may eventually arise in the answers).
– Bacco