![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
MySQL
唯爱浅浅waqq914
这个作者很懒,什么都没留下…
展开
-
查看mysql版本
1.mysql语句查看:show variables like 'version';2.在cmd中查看:mysql --version原创 2018-04-20 14:42:17 · 949 阅读 · 0 评论 -
mysql timestamp类型的字段按小时分组
mysql timestamp类型字段按小时分组语句:select count(*), substring(scanning_time,12,2) from warning_results where scanning_time between '2017-08-10 00:00:00' and '2017-08-10 23:59:59' group by substring(scanning_t...原创 2018-04-20 15:15:28 · 1980 阅读 · 0 评论