Query time 0.00123
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": 33,
"filtered": 100,
"attached_condition": "cscart_product_reviews.product_id <=> 3387 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 |
767 |
3387 |
5644 |
Uyên Nguyễn |
|
|
Ngon nhưng hơi ngọt |
Ăn ổn nhưng mình đã mong nó chua hơn tí |
4 |
0ea114fd |
N |
1644378686 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
679 |
3387 |
5948 |
Ngọc Quỳnh Hương Nguyễn |
|
|
Đóng Gói Đẹp |
Xoài dai vừa nhưng không chua như mình expect, chắc do khẩu vị thích ăn chua TvT |
3 |
0ea114fd |
N |
1644373825 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
12051 |
3387 |
5427 |
Yên Ngọc Hiển |
|
|
Chê |
Hơi ngọt |
5 |
0ea10149 |
N |
1644311002 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
355 |
3387 |
5883 |
Phương Ngọc |
|
|
Tuyệt Vời |
Mình mua xoài sấy chỉ sợ bị bỏ đường nhiều quá nhưng xoài chỗ này không bỏ đường nên chuẩn không cần chỉnh luôn. Xoài cắt lát to, nhiều mà giá rẻ nữa chứ ưng thật sự <3 |
5 |
0ea114fd |
N |
1644294658 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
12344 |
3387 |
5427 |
Ngọ Hữu Nghĩa |
|
|
Vận Chuyển Nhanh |
Tiện lợi |
5 |
0ea10149 |
N |
1644292805 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
192 |
3387 |
5296 |
Trân Đinh |
|
|
Đóng Gói Đẹp |
XOài bị cái cầm hồi bị vàng tay, không biết có bỏ màu k nữa :( |
4 |
0ea114fd |
N |
1644202893 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
146 |
3387 |
5925 |
Nghii Hoàng |
|
|
Chất Lượng Cao |
M vốn thích xoài sấy dẻo hay mua trên Đà Lạt ấy nhưng xoài sấy ở đây là một đẳng cấp khác luôn =)) Xoài chua đậm thích cực kỳ, không đường nên ăn nhiều cũng không tội lỗi với cái cân˜ À lát xoài cắt lớn nên ăn đã lắm nhaa :3 |
5 |
0ea114fd |
N |
1643339840 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
125 |
3387 |
5427 |
Đầu Giang Thiên |
|
|
Very tasty |
Really decent food and at affordable price |
5 |
0ea114fd |
N |
1643269656 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
123 |
3387 |
5427 |
Lan Anh Nguyen |
|
|
Tuyệt Vời |
The best dried mango I ever have. Taste not too sweet. Full package with affordable price!!! |
5 |
0ea114fd |
N |
1643264916 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
13922 |
3387 |
5427 |
Giao Quang Nhật |
|
|
Good Quality |
so yummy |
5 |
0ea10149 |
N |
1635641052 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |