SQL语句-查询特定年份产生的数据

注意:year函数的使用

select * from lccont where conttype='1' and salechnl in('02','03','04','05') and year(makedate)='2019'

posted on 2020-01-10 11:43  ~码铃薯~  阅读(2454)  评论(0编辑  收藏  举报

导航