Query time 0.00132
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": 9,
"filtered": 100,
"attached_condition": "cscart_product_reviews.product_id <=> 34673 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 |
20199 |
34673 |
10681 |
Mia Pham |
|
|
Chất lượng |
Lá trà đều, không vụn nát. Trà được đóng gói cẩn thận, giữ được hương vị thơm ngon lâu dài. |
4 |
1b4af3fb |
N |
1708338663 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
20195 |
34673 |
10681 |
Phúc An |
|
|
Hương vị tuyệt vời |
Trà có vị thanh tao, ngọt dịu, pha lẫn chút chát nhẹ đặc trưng của Oolong. Khi pha, nước trà có màu vàng óng đẹp mắt, toả hương thơm dịu nhẹ. |
4 |
1b4af3fb |
N |
1708338645 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
20191 |
34673 |
10681 |
Seo Jun |
|
|
Versatile brewing options |
I love that this oolong tea can be brewed in a variety of ways |
4 |
1b4af3fb |
N |
1708338627 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
20186 |
34673 |
10681 |
Rhys O'Ryan |
|
|
Great taste and aroma |
I really enjoyed the taste and aroma of this oolong tea. It has a delicate floral scent and a slightly sweet flavor. The tea leaves are also very high quality, and they don't produce any bitterness even after multiple steeps. Overall, I'm very impressed with this product and would highly recommend it to anyone looking for a delicious and refreshing oolong tea. |
4 |
1b4af3fb |
N |
1708338610 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |