首页  >  文章  >  数据库  >  mysql统计一天产生多少条记录

mysql统计一天产生多少条记录

coldplay.xixi
coldplay.xixi原创
2020-09-29 14:51:462792浏览

mysql统计一天产生多少条记录的方法:使用sql语句实现,代码为【SELECT date(reserve_begin_time),count(1) from brother_reserve group by date(.....)】。

mysql统计一天产生多少条记录

mysql统计一天产生多少条记录的方法:

SELECT date(reserve_begin_time),count(1) from brother_reserve group by date(reserve_begin_time) ORDER BY reserve_begin_time desc

统计结果如下:

607bf1afeda75118e262d9a5f51a093.png

更多相关免费学习推荐:mysql教程(视频)

以上是mysql统计一天产生多少条记录的详细内容。更多信息请关注PHP中文网其他相关文章!

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn