Hello,
How do I only display records solely from the past 30 days with an SQL query, using the 'date' field in my database?
The column in the table is called 'date' and uses date type :
date date No 0000-00-00
I have tried :
DATE_SUB(CURDATE(),INTERVAL 30 DAY)
but to no avail.