SELECT rating_value, COUNT(1) count FROM cscart_product_reviews WHERE `product_id` = 276708 AND `status` = 'A' GROUP BY rating_value
{ "query_block": { "select_id": 1, "message": "no matching row in const table" } }