🌈 搜索
📅  最后修改于: 2022-03-11 15:05:11.039000             🧑  作者: Mango
SELECT DISTINCT LEAST(180, DAYS(curdate()) - DAYS(start_date)) as days FROM table2 where expire_date > curdate()