Unknown column 'checked' in 'where clause'
select count(*) as total from ***_ecms_download where checked=1 and classid='65'