Database Developer
Monday, August 24, 2015
Getting mysql result from the last 30 days
select * from table
where date between date_sub(now(), interval 30 day) and now();
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment