SQL Syntax Question
Posted on 2013-01-21
I am using the following to get the database values in the past 24 hours.
timestampadd(hour, -24, now()
Could someone tell me what to change in this so I can get them for the past week, the past month, and the past year?
Thank you so much,