Get the App
SLTechnology News&Howtos  ›  Database  › 

The method of querying the data of the last 7 days by mysql

Shulou Source: shulou.com Published: 2022-06-01 02:38:10 11月15日 Update

This article mainly introduces mysql query the last 7 days of data method, the text is very detailed, has a certain reference value, interested friends must read!

mysql Query the data of the last 7 days: directly execute [SELECT * FROM table name WHERE date_sub(curdate(), interval 7 day)]

Tags: Data query field time method content statement value interest guy partner more knowledge article industry information information channel channel reference help Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno MariaDB MySQL Redmi NVidia