SQL数据库。按年,月,日查询

select * from pop where year(pdate)=年份  and month(pdate)>1 and month(pdate)<3

select * from Mall_Coupons where year(StartDate)=2011 and month(StartDate)>12 and month(StartDate)<2
原文地址:https://www.cnblogs.com/wybshyy/p/13783799.html