MySQL Forums
Forum List  »  Newbie

Please i need help on mysql on how to get last dates base on DATETIME
Posted by: Ricky Nkansah
Date: January 12, 2015 03:55PM

I want to select the following from mysql

Last 12 hours
Last 24 hours
last 7 days
last 1 month


I will be glad with some one help me

Options: ReplyQuote


Subject
Written By
Posted
Please i need help on mysql on how to get last dates base on DATETIME
January 12, 2015 03:55PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.