MySQL之查询20分钟未支付订单

//status = 0 为未支付状态
select * FROM order  WHERE TIMESTAMPDIFF(MINUTE,create_date,now())  > 20 AND status = 0;
posted @ 2025-04-08 23:52  程序员の奇妙冒险  阅读(25)  评论(0)    收藏  举报