We are using MySQL, and the table have a column named 'createdat` which means the time when the record are inserted.
Now we want to get data within 10 days from its created time.
Something like this:
select xx from table where time_of_now - createdat<= 10
I wonder if MySQL support this kind of query?