Unknown column 'year' in 'where clause'
select count(*) as total from ***_ecms_movie where year =2020 and month =10 and classid='15'