I have a table requests and would like to return the following situation.
select all the requests of an idCliente of the current month adding the values of the same ones. type select * from pedidos where idCliente = id and dataPedido
(the month of search type 10/2018) sum(valortotalPedido)
I'm not getting because the date field in mysql is as follows 2018-10-01 22:02:01 ie standard format. I do not know if I was clear but thank you for helping me.