特牛生活网

Mysql 截取日期的方法-CSDN博客

网友收藏
文章浏览阅读1.8w次。//显示年月日select date_format(date ,'%Y-%m-%d' ) from talbe_a//根据年月日分组select date_format(date ,'%Y-%m-%d' ) from tb_scenic_source GROUP BY date_format(date ,'%Y-%m-%d' )一、DATE_FORMAT() 函数..._mysql时间截取