Error: SELECT,scr.dat,scr.time,scr.title, scr.addedby,scr.views, sum( rt.rateup ) as rateup, sum(rt.ratedown) as ratedown,(sum(rt.rateup)-sum(rt.ratedown)) as toprate, scr.htmlenable FROM scraps scr, rating rt WHERE = rt.scrapid && scr.status='REVD' and scr.type in(1,2,-1) and not in(select sid from tagmap where tid in(28,943) group by sid) GROUP BY HAVING toprate !=0 order by toprate desc limit 0,15

Got error 28 from storage engine