last 24 HOUR data in mysql

Hello geeks! In this tutorial I have shared the details about “last 24 HOUR data in mysql”. Okay, let’s move on to the tutorial.

last 24 HOUR data in mysql

SELECT * FROM news WHERE date >= now() - INTERVAL 1 DAY;

Final Words

I hope this tutorial helps you to know about “last 24 HOUR data in mysql”. If you have any questions regarding this article please let us know via the comment section. Share this post with your friends & family via social networks.

Hi, I'm Ranjith a full-time Blogger, YouTuber, Affiliate Marketer, & founder of Coder Diksha. Here, I post about programming to help developers.

Share on:

Leave a Comment