mysql数据库怎么查询当前时间戳前两天的数据

如题所述

mysql数据库怎么查询当前时间戳前两天的数据
-- 2015年1月份到现在的的数据
select *,now() as time_now from timestampTest
where tmStmp between '2015-01-01 00:00:00'
and now();
温馨提示:答案为网友推荐,仅供参考
相似回答