Unknown column 'type' in 'where clause'
select id,classid,ttid,onclick,plnum,totaldown,newspath,filename,userid,username,firsttitle,isgood,ispic,istop,isqf,ismember,isurl,truetime,lastdotime,havehtml,groupid,userfen,titlefont,titleurl,stb,fstb,restb,keyboard,eckuid,title,newstime,titlepic,smalltext,sypt,kyfw,lblx,kstime,jstime,lbnr,sysm,hao,yxid from ***_ecms_ka where classid='5' and (lblx='2') and username != 'qp' and type != '9' and typei != '游戏综合' order by newstime desc limit 0,10