sql 查询日期中月份

1. 查询10年6月到9月的信息
SELECT * 
FROM table
WHERE YEAR(dateField)=2010 and  MONTH(dateField)>=6 and MONTH(dateField)<=9 
原文地址:https://www.cnblogs.com/Kakasi/p/2177216.html