Query time 0.01107
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": "range",
"possible_keys": ["idx_product_id"],
"key": "idx_product_id",
"key_length": "3",
"used_key_parts": ["product_id"],
"rows": 46,
"filtered": 100,
"index_condition": "cscart_product_reviews.product_id in (27918,38094,38095)",
"attached_condition": "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 |
15624 |
38094 |
6797 |
Bảo |
|
|
ngon |
Chưa ăn loại mứt nào mà ngon như thế này. Quá là tuyệt vời luôn. Mình hay ăn cùng bánh mì để ăn sáng. Nhanh, gọn, lẹ. |
5 |
abf4b823 |
N |
1681708442 |
VN |
79 |
0 |
|
0 |
1 |
A |
1 |
0 |
1 |
0 |
|
|
Viet Nam |
15623 |
38094 |
6797 |
Nghi |
|
|
ngon |
Một bữa sáng ngon lành và nhanh chóng. Mứt không quá ngọt và đậm vị xoài |
5 |
abf4b823 |
N |
1681708356 |
VN |
79 |
0 |
|
0 |
1 |
A |
1 |
1 |
1 |
0 |
|
|
Viet Nam |
15622 |
38094 |
6797 |
Ning Ning |
|
|
Delicious |
Taste is wonderful. It was pretty pricey. It's great to eat it with yoghurt or bread |
5 |
abf4b823 |
N |
1681708097 |
VN |
79 |
0 |
|
0 |
1 |
A |
1 |
1 |
1 |
0 |
|
|
Viet Nam |
15621 |
38094 |
6797 |
Namjoo |
|
|
Love it |
This jam has a wonderful flavor! |
5 |
abf4b823 |
N |
1681707777 |
VN |
79 |
6862 |
Thanks for your positive feedback. We hope to serve you better in the future |
1683526791 |
1 |
A |
1 |
1 |
1 |
0 |
580 |
FOODOVI |
Viet Nam |
15593 |
38094 |
7927 |
Chinh Pham |
|
|
Awesome |
Ngon, ăn với sữa chua thì số 1 lunnn |
5 |
1b4af6f8 |
Y |
1679981967 |
VN |
79 |
6862 |
Cám ơn bạn Chinh Pham tin dùng sản phẩm bên mình nhé ^^! |
1679987406 |
1 |
A |
1 |
0 |
1 |
0 |
580 |
FOODOVI |
Viet Nam |
15316 |
38094 |
5369 |
Kyungchan Park |
|
|
Yummm! |
I love the product. It's yummy and not too sweet.
Also well wrapped and packaged. |
5 |
0ea12821 |
Y |
1667891646 |
VN |
79 |
6862 |
Thanks for your positive feedback. We hope to serve you better in the future |
1668066534 |
3 |
A |
1 |
0 |
3 |
0 |
580 |
FOODOVI |
Viet Nam |