开发者

MYSQL: how can i select dates from this current day up to the next 2 months

开发者 https://www.devze.com 2023-01-19 21:52 出处:网络
i hav开发者_如何学Pythone to select from my homework dates from this time up to the next 2 months...

i hav开发者_如何学Pythone to select from my homework dates from this time up to the next 2 months... i'm doing an expiration database.. pls help me


Read and learn !


select * from homework where homework_date between now() and now() + interval 2 month;
0

精彩评论

暂无评论...
验证码 换一张
取 消