时间函数 (未完)

----查询某一段时间
select  *  FROM `student`  WHERE `time`   > '2017-03-17 22:02:50'

image

 

 

select  *  FROM `student`  WHERE `time`   BETWEEN  '2017-03-17 22:02:50'   and  '2017-03-19 22:02:50'

image

posted @ 2017-03-19 22:29  风和日丽2010  阅读(105)  评论(0编辑  收藏  举报