Mysql自带的年月日函数

 

SELECT * from meeting
where year(time)=year('2018-10-18') and month(time)=month('2018-10-18') and day(time)=day('2018-10-18')

 

posted @ 2018-10-18 17:05  fangsheng420  阅读(341)  评论(0编辑  收藏  举报