Query time 0.42467
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": "ALL",
"possible_keys": ["idx_product_id"],
"rows": 25675,
"filtered": 100,
"attached_condition": "cscart_product_reviews.`status` = 'A'"
}
}
}
},
{
"table": {
"table_name": "cscart_products",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["dev_db.cscart_product_reviews.product_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "cscart_products.company_id = 388"
}
},
{
"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 |
25093 |
4346 |
7325 |
Minh Tiến |
|
|
Tuyệt vời |
Mình thích mấy kiểu vẽ như này nên thấy là mua về treo phòng ngủ liền |
5 |
abf4b968 |
N |
1712656525 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
18647 |
40359 |
5760 |
Nghi |
|
|
Nghệ thuật |
Trông hay hay, tặng kèm quà cho người mê cà phê cũng ok |
5 |
abf4b968 |
N |
1691685385 |
VN |
75 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
18644 |
40371 |
5760 |
Nghi |
|
|
Tuyệt vời |
Mê bánh mì là phải mua! Đặc biệt là bánh mì Sài Gòn :> |
5 |
abf4b968 |
N |
1691685267 |
VN |
75 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
18643 |
4332 |
5760 |
Nghi |
|
|
Đẹp |
Tranh đẹp, nhìn art art dù khắc họa những hình ảnh rất đời thường. Mình rất thích |
5 |
abf4b968 |
N |
1691685224 |
VN |
75 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
18432 |
4340 |
9420 |
Trang Trang |
|
|
Đánh giá cao |
Tranh đẹp, đóng gói cẩn thận. |
5 |
1b4af3fb |
N |
1691565297 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
18324 |
4333 |
9420 |
Tâm Nguyễn |
|
|
Đánh giá cao |
Tranh đẹp, chỉn chu, không bị lỗi |
5 |
abf4b968 |
N |
1691138319 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
18152 |
4346 |
6941 |
Linh Trần |
|
|
Tuyệt vời |
Chất lượng cao, hình in đẹp. |
5 |
abf4b968 |
N |
1691054729 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
18150 |
4348 |
6941 |
Linh Trần |
|
|
Tuyệt vời |
Xuất sắc luôn, mình thấy rất có hồn, rất Việt. |
5 |
abf4b968 |
N |
1691054555 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
16429 |
4332 |
5318 |
Hải Yến Phạm |
|
|
Đẹp |
Bức tranh in được đóng gói cẩn thận và đến trong tình trạng hoàn hảo. Nó trông còn đẹp hơn nhiều so với trên mạng. |
5 |
b7505efd |
N |
1689336126 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |
16428 |
4332 |
5318 |
Thùy Anh Trần |
|
|
Giao hàng nhanh |
Tôi rất yêu thích bức tranh in mới của mình! Nó đến rất nhanh và chính xác như tôi mong đợi để hoàn thành bức tường tranh của mình. |
5 |
b7505efd |
N |
1689336068 |
VN |
79 |
0 |
|
0 |
0 |
A |
1 |
0 |
0 |
0 |
|
|
Viet Nam |