[MySQL series] MySQL statistics data according to the current year, month and Sunday

Foreword:

Received a small request to obtain the data of electricity consumption statistics, asked to obtain the statistical data of the most recent month, week, and day, MySQL

This article is reprinted from https://www.mobaijun.com/posts/4014467466.html
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment

Your email address will not be published.