The method of querying the data of the last 7 days by mysql
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)]