Query time 0.00172
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": 13,
"filtered": 100,
"attached_condition": "cscart_product_reviews.product_id <=> 2183 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 |
12792 |
2183 |
5324 |
Nguyễn Việt Thiên Trân |
|
|
Tuyệt Vời |
Mình cực kỳ thích ăn tương ớt ở đây, thường mấy thương hiệu khác thành phần ớt tầm 12% cao lắm 24% mà bên đây mình đọc thấy tận 76% luôn và nguyên liệu sạch nữa. Xứng đáng là sự thay thế cho các loại tương ớt khác. |
5 |
0ea10149 |
N |
1661942463 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
894 |
2183 |
5925 |
Nghii Hoàng |
|
|
Đóng Gói Đẹp |
Vị cay nồng đậm đà nhưng mình không quen vị chua chua trong tương ớt lắm. Ăn chung với những món nước thấy hợp hơn với đồ chiên xào nha |
3 |
0ea114fd |
N |
1644465007 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
868 |
2183 |
5324 |
Cai Công Hoán |
|
|
Tuyệt Vời |
Tương ớt nhưng ăn cảm nhận được vị ớt tươi luôn ấy. |
4 |
0ea114fd |
N |
1644401772 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
684 |
2183 |
5324 |
Trần Khánh Linh |
|
|
Chất Lượng Cao |
cay phải nói là đỉnh của chóp |
4 |
0ea114fd |
N |
1644373985 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
569 |
2183 |
5324 |
Công Ðức Tuệ |
|
|
Chất Lượng Cao |
Ớt thật 100% cay hơn những loại tương ớt khác rất nhiều nhé nhưng mà nghiện cực |
4 |
0ea114fd |
N |
1644313622 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
548 |
2183 |
5331 |
Ngoc Nguyen |
|
|
Tuyệt Vời |
Vị ớt tươi thật, ai thích ăn cay nên mua thử |
4 |
0ea114fd |
N |
1644313032 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
409 |
2183 |
5848 |
Huyen Vu |
|
|
Tuyệt Vời |
Tui thích tương ớt cay nồng giống vầy chứ mấy tương ớt công nghiệp bên ngoài bị ngọt ngọt sao á |
5 |
0ea114fd |
N |
1644306616 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
81 |
2183 |
5324 |
INJOON Song |
|
|
awesome taste! |
Definitely different from the factory-made tuong oc.
Rich in flavor, and not too much spicy. Highly recommend. |
5 |
0ea114fd |
N |
1637315190 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
1022 |
2183 |
5562 |
Tran Nguyen |
|
|
Đóng Gói Đẹp |
thơm |
5 |
0ea114fd |
N |
1628078543 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
221 |
2183 |
5458 |
hang do |
|
|
Chất Lượng Cao |
Ngon |
5 |
0ea114fd |
N |
1627007940 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |