mysql 查询出 n小时 以前的数据

select * FROM biaoming WHERE TIMESTAMPDIFF(SECOND ,CREATE_TIME,now() ) > 3*60*60

猜你喜欢

转载自www.cnblogs.com/angdh/p/10922839.html