{
"query_block": {
"select_id": 1,
"cost": 0.007471274,
"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": ["c_status", "id_path"],
"key": "id_path",
"key_length": "767",
"used_key_parts": ["id_path"],
"loops": 1,
"rows": 2,
"cost": 0.003808422,
"filtered": 100,
"index_condition": "tmall_categories.id_path like '166/254/%'",
"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 | ab__lc_catalog_image_control |
|---|---|---|---|---|---|---|---|---|
| 255 | 263 | 166/254/263/255 | Microsoft | 10 | A | 0 | 0 | none |
| 263 | 254 | 166/254/263 | Consoles | 160 | A | 0 | 0 | none |