select bo_table, wr_id from `m3hit` where date >= (curdate() - interval 10 day) GROUP BY bo_table, wr_id ORDER BY sum(hit) desc limit 6

2013 : Lost connection to MySQL server during query

error file : /portal/index.php