Got error 28 from storage engine SQL query : select ct.pid, ct.name, ct.text, pt.name as product_name from SS_comments_table ct join SS_products pt ON pt.productID = ct.pid join SS_categories c ON c.categoryID = pt.categoryID where 1 = 1 AND (c.categoryId = 406 OR c.parent = 406) order by ct.date DESC LIMIT 5