SQL查询前一个月的记录语句

between  dateadd(d,-30,getdate()) and getdate()
原文地址:https://www.cnblogs.com/evan51/p/3949304.html