Got error 28 from storage engine
select t2.idtheme, t2.nom, sum(10 - t1.score) themescore from book_assoc_theme_top t1 inner join book_theme_nom t2 on t2.idtheme=t1.idtheme and t2.idln='1' and t1.idln='1' where t1.idbook in (-1,23015) group by t2.idtheme, t2.nom order by themescore desc limit 6