select count(*) from table where create_time > UNIX_TIMESTAMP('2017-5-16 00:00:00') and create_time <= UNIX_TIMESTAMP('2017-05-17 00:00:00');
mysql时间函数
最新推荐文章于 2024-08-07 22:27:36 发布
select count(*) from table where create_time > UNIX_TIMESTAMP('2017-5-16 00:00:00') and create_time <= UNIX_TIMESTAMP('2017-05-17 00:00:00');