Query time 0.00268
JSON explain
{
"query_block": {
"select_id": 1,
"nested_loop": [
{
"read_sorted_file": {
"filesort": {
"sort_key": "cscart_product_reviews.product_review_timestamp desc",
"table": {
"table_name": "cscart_product_reviews",
"access_type": "ref",
"possible_keys": ["idx_product_id"],
"key": "idx_product_id",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["const"],
"rows": 49,
"filtered": 100,
"attached_condition": "cscart_product_reviews.product_id <=> 2182 and cscart_product_reviews.`status` = 'A'"
}
}
}
},
{
"table": {
"table_name": "cscart_users",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["user_id"],
"ref": ["dev_db.cscart_product_reviews.reply_user_id"],
"rows": 1,
"filtered": 100
}
},
{
"table": {
"table_name": "cscart_companies",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["company_id"],
"ref": ["dev_db.cscart_users.company_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(trigcond(cscart_users.company_id is not null))"
}
},
{
"table": {
"table_name": "cscart_country_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "12",
"used_key_parts": ["code", "lang_code"],
"ref": ["dev_db.cscart_product_reviews.country_code", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_country_descriptions.lang_code = 'vi')"
}
}
]
}
}
Result
product_review_id |
product_id |
user_id |
name |
advantages |
disadvantages |
quick_comment |
comment |
rating_value |
ip_address |
is_buyer |
product_review_timestamp |
country_code |
city |
reply_user_id |
reply |
reply_timestamp |
helpfulness |
status |
storefront_id |
images_count |
vote_up |
vote_down |
reply_company_id |
reply_company |
country |
12055 |
2182 |
5458 |
Khuất Minh Triết |
|
|
Chất Lượng Cao |
Ướp thịt hơi bị đỉnh ạ :((((((( |
5 |
0ea10149 |
N |
1660905235 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
3181 |
2182 |
6124 |
Linh Trần |
|
|
yessssssssss |
a great hit for me. I loveeeeee the heat and the garlic taste. mix this with a bit of soy sauce and pour it onto a crispy fried egg, dayum! |
5 |
0ea10149 |
N |
1655982993 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
1035 |
2182 |
5562 |
Tran Nguyen |
|
|
Tuyệt Vời |
hăng hăng cay cay vừa vị chứ không bị nồng, phù hợp chấm kèm cho tất cả các món ăn |
5 |
0ea114fd |
N |
1646302622 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
572 |
2182 |
5355 |
Như Ý Nguyễn |
|
|
Tuyệt Vời |
Ăn gì cũng hợp í, dùng để ướp đồ nướng thì cũng thật là tuyệt ^^ |
4 |
0ea114fd |
N |
1644313693 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
447 |
2182 |
5458 |
Vưu Ngọc Thi |
|
|
Sản phẩm tốt |
Nói chung là ổn, giá rẻ nữa nên rất đáng mua, cảm ơn shop nhiều |
4 |
0ea114fd |
N |
1644309492 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
240 |
2182 |
5458 |
hang do |
|
|
Chất Lượng Cao |
Tương ớt lên men, có vị mặn, khá cay nồng. Dùng chấm đồ là xuất sắc |
5 |
0ea114fd |
N |
1644225597 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
895 |
2182 |
5925 |
Nghii Hoàng |
|
|
Đóng Gói Đẹp |
thơm |
4 |
0ea114fd |
N |
1628078543 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
410 |
2182 |
5848 |
Huyen Vu |
|
|
Chất Lượng Cao |
Ngon |
5 |
0ea114fd |
N |
1627007940 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
12891 |
2182 |
5458 |
Chriêng Ðinh Lộc |
|
|
Chất Lượng Cao |
ok |
5 |
0ea10149 |
N |
1623556474 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |