[MYSQL Query] How to select all the entries from the last month?
- by rasouza
I have a table with entries which has a DATE field. Each entry has a distinct date.
I'd like to select all the entries from the last month. How?
I tried SELECT * FROM registries WHERE reg_date = DATE_FORMAT(MAX(reg_date), "%m") without success
thx