mysql 查询3天之内的数据

SELECT * FROM Session where createTime >= now()-interval 3 day;

猜你喜欢

转载自e-e.iteye.com/blog/2331598