Unknown column 'checked' in 'where clause'
select id,classid,title,titleurl from ***_ecms_news where classid in (171,172,173,174,175,176,177,178) and checked=1 order by id desc limit 50