{
"query_block": {
"select_id": 1,
"cost": 0.004658341,
"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": "ref",
"possible_keys": ["c_status", "parent", "id_path"],
"key": "parent",
"key_length": "3",
"used_key_parts": ["parent_id"],
"ref": ["const"],
"rowid_filter": {
"range": {
"key": "id_path",
"used_key_parts": ["id_path"]
},
"rows": 3,
"selectivity_pct": 2.654867257
},
"loops": 1,
"rows": 3,
"cost": 0.002724515,
"filtered": 2.654867172,
"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.id_path like '219/%' 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": 1,
"rows": 1,
"cost": 0.001933826,
"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 | ab__fn_category_status | ab__fn_label_color | ab__fn_label_background | ab__fn_use_origin_image | ab__fn_label_text | ab__fn_label_show |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 222 | 219 | 219/222 | Business & Investing | 10 | A | 0 | 0 | none | Y | #ffffff | #333333 | N | Y | |
| 220 | 219 | 219/220 | Computing & Internet | 20 | A | 0 | 0 | none | Y | #ffffff | #333333 | N | Y | |
| 221 | 219 | 219/221 | Education | 30 | A | 0 | 0 | none | Y | #ffffff | #333333 | N | Y |