SELECT * FROM `qilong_mall_order` where DATEDIFF(NOW(),from_unixtime(addtime,‘%Y-%m-%d‘)) < 3 limit 10
select DATEDIFF(NOW(),from_unixtime(addtime,‘%Y-%m-%d‘)) FROM `qilong_mall_order`
时间: 2025-01-04 05:50:41
SELECT * FROM `qilong_mall_order` where DATEDIFF(NOW(),from_unixtime(addtime,‘%Y-%m-%d‘)) < 3 limit 10
select DATEDIFF(NOW(),from_unixtime(addtime,‘%Y-%m-%d‘)) FROM `qilong_mall_order`