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