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