Query time 0.00066
JSON explain
{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "cscart_product_filters.position, cscart_product_filter_descriptions.filter",
"temporary_table": {
"table": {
"table_name": "cscart_product_filters",
"access_type": "ALL",
"possible_keys": ["PRIMARY"],
"rows": 4,
"filtered": 100,
"attached_condition": "cscart_product_filters.`status` = 'A' and (cscart_product_filters.categories_path = '' or find_in_set(88,cscart_product_filters.categories_path)) and cscart_product_filters.filter_id in (1,3,6,7)"
},
"table": {
"table_name": "cscart_product_filter_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["filter_id", "lang_code"],
"ref": ["vietpom_dev.cscart_product_filters.filter_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_product_filter_descriptions.lang_code = 'vi')"
},
"table": {
"table_name": "cscart_product_features",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["feature_id"],
"ref": ["vietpom_dev.cscart_product_filters.feature_id"],
"rows": 1,
"filtered": 100
},
"table": {
"table_name": "cscart_product_features_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["feature_id", "lang_code"],
"ref": ["vietpom_dev.cscart_product_filters.feature_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_product_features_descriptions.lang_code = 'vi')"
}
}
}
}
}
Result
| feature_id |
filter_id |
field_type |
round_to |
display |
display_count |
filter |
feature_type |
filter_style |
prefix |
suffix |
| 0 |
1 |
P |
0.01 |
N |
10 |
Giá |
|
|
|
|
| 4 |
6 |
|
0.01 |
Y |
10 |
Nhóm thuốc |
M |
checkbox |
|
|
| 0 |
7 |
S |
0.01 |
N |
10 |
Nhà phân phối |
|
|
|
|
| 3 |
3 |
|
0.01 |
N |
10 |
Ngày hết hạn |
D |
date |
|
|