函数

1、强调:mysql内置的函数只能在sql语句中使用

mysql> select date_format(sub_time,'%Y-%m'),count(id) from blog group by date_format(sub_time,'%Y-%m');



posted @ 2018-09-23 22:52  不沉之月  阅读(63)  评论(0)    收藏  举报