I have a date
field, I'd like to make a query
to get only the month of that field.
How can I do this?
I have a date
field, I'd like to make a query
to get only the month of that field.
How can I do this?
Just use the MONTH
function of MySQL
.
SELECT MONTH(seu_campo);