0
I would like to know how to get only the data of the respective month in which we are.
For example: I have the date 2017-05-10
and I have the date 2017-11-05
, how do I take data only from a date with Mysql. I only want data from the date 2017-11-05
, then it returns to me all the data that are on that date, how can I do it?
What I have so far:
mysqli_query($sql, "SELECT data, sum(total) FROM pedidos";
and that there just need to adapt in my case would n
date
and yesdata
but that’s what helps– robertaEDG
Imagine @robertaEDG ;)
– Guilherme Biancardi