select * from table where MONTH(date)='6' or MONTH(date)='7'
用这条语句就可以了如果是这样的话如果select * from table where MONTH(date)='6' or MONTH(date)='8'那起不是查不出七月分的了