SQL语句查询特定年份产生的数据 注意:year函数的使用 select * from lccont where conttype='1' and salechnl in('02','03','04','05') and year(makedate)='2019'