How to query data for a certain period of time by mysql
This article mainly shows you "how mysql queries data for a certain period of time", which is easy to understand and clear. I hope it can help you solve your doubts. Let me lead you to study and learn this article "how to query data for a certain period of time by mysql".
The sql statement is as follows:
SELECT * FROM log_data_clean WHERE DATEDIFF (occur_time,NOW ()) =-4; the above is all the contents of the article "how to query the data of a certain period of time by mysql". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!