{
"query_block": {
"select_id": 1,
"cost": 0.007875846,
"filesort": {
"sort_key": "tmall_categories.is_trash, tmall_categories.position, tmall_category_descriptions.category",
"temporary_table": {
"nested_loop": [
{
"table": {
"table_name": "tmall_categories",
"access_type": "range",
"possible_keys": ["PRIMARY", "c_status", "p_category_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["category_id"],
"loops": 1,
"rows": 2,
"cost": 0.004212994,
"filtered": 100,
"index_condition": "tmall_categories.category_id in (170,171)",
"attached_condition": "(tmall_categories.usergroup_ids = '' or find_in_set(0,tmall_categories.usergroup_ids) or find_in_set(1,tmall_categories.usergroup_ids)) and tmall_categories.`status` = 'A' and tmall_categories.storefront_id in (0,1)"
}
},
{
"table": {
"table_name": "tmall_category_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["category_id", "lang_code"],
"ref": ["tmall.tmall_categories.category_id", "const"],
"loops": 2,
"rows": 1,
"cost": 0.003662852,
"filtered": 100,
"attached_condition": "trigcond(tmall_category_descriptions.lang_code = 'en')"
}
}
]
}
}
}
}
| category_id | parent_id | id_path | category | position | status | company_id | storefront_id | product_count | ab__lc_catalog_image_control |
|---|---|---|---|---|---|---|---|---|---|
| 170 | 167 | 167/170 | Monitors | 110 | A | 0 | 0 | 3 | none |
| 171 | 167 | 167/171 | Networking | 120 | A | 0 | 0 | 4 | none |