Query time 0.00101
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": 23,
"filtered": 100,
"attached_condition": "cscart_product_reviews.product_id <=> 5543 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 = 'en')"
}
}
]
}
}
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 |
21780 |
5543 |
5356 |
Ngọc Nguyen |
|
|
Tuyệt vời |
10 đỉm ko có nhưng, tương ớt mới đầu ăn ko quen mà càng ăn càng ghiền |
5 |
1b4af3fb |
N |
1710153445 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
21779 |
5543 |
5356 |
Kim Tran |
|
|
ok |
Ngon nha, chấm khoai tây chin tưởng ko hợp mà hợp ko tưởng, mỗi tội chai bé tí nhanh hết :(( |
4 |
1b4af3fb |
N |
1710153435 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
21778 |
5543 |
5356 |
Minh Đức Huỳnh |
|
|
Vận chuyển nhanh |
Ship nhanh tốc độ, tương ớt ngon, chất lượng, mình mua đến chai thứ 3 rồi |
5 |
1b4af3fb |
N |
1710153422 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
21776 |
5543 |
5356 |
Nguyên Nguyen |
|
|
Hoàn hảo |
Chấm cái gì cũng ngon hết đặc biệt là xúc xích đồ nướng này nọ á. |
5 |
1b4af3fb |
N |
1710153411 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
21775 |
5543 |
5356 |
Ngọc Ly |
|
|
Đánh giá cao |
Tương ớt khá cay, càng cay càng tốt, nhưng mà thật ra cũng ko cay lắm đâu, chỉ là cay nhất trong 3 cái thôi, nhưng chất lượng này là quá ok, thơm khói lắm nha |
5 |
1b4af3fb |
N |
1710153396 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
21774 |
5543 |
5356 |
Ethan Wilson |
|
|
Highly recommend |
This alone goes perfect with my steak with butter, thyme and rosemary! Simpe, but super delicious! |
5 |
1b4af3fb |
N |
1710153386 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
21772 |
5543 |
5356 |
Trần Đức Anh |
|
|
okkkkk |
Tương ớt ngon, cay hơn 2 loại kia. |
5 |
1b4af3fb |
N |
1710153370 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
21770 |
5543 |
5356 |
Isabella Clark |
|
|
Good quality |
This is tasty and good price! Recommended! |
5 |
1b4af3fb |
N |
1710153359 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
21769 |
5543 |
5356 |
Phong Mai |
|
|
Vận chuyển nhanh |
Ship nhanh, pack giấy đẹp |
5 |
1b4af3fb |
N |
1710153349 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
21767 |
5543 |
5356 |
Thảo Trần |
|
|
Chất lượng |
Tương ớt rất ngon, đáng thử |
5 |
1b4af3fb |
N |
1710153339 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |