{
"query_block": {
"select_id": 1,
"cost": 0.037100224,
"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": 12,
"cost": 0.016147112,
"filtered": 100,
"index_condition": "tmall_categories.id_path like '203/%'",
"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": 12,
"rows": 1,
"cost": 0.020953112,
"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 |
|---|---|---|---|---|---|---|---|---|
| 216 | 215 | 203/215/216 | Backpacks | 10 | A | 0 | 0 | none |
| 204 | 203 | 203/204 | Bikes | 10 | A | 0 | 0 | none |
| 210 | 204 | 203/204/210 | Comfort & Cruisers | 10 | A | 0 | 0 | none |
| 212 | 211 | 203/211/212 | Golf Clubs | 10 | A | 0 | 0 | none |
| 211 | 203 | 203/211 | Golf | 20 | A | 0 | 0 | none |
| 213 | 211 | 203/211/213 | Golf Balls | 20 | A | 0 | 0 | none |
| 209 | 204 | 203/204/209 | Road Bikes | 20 | A | 0 | 0 | none |
| 217 | 215 | 203/215/217 | Sleeping Bags | 20 | A | 0 | 0 | none |
| 215 | 203 | 203/215 | Camping | 30 | A | 0 | 0 | none |
| 214 | 211 | 203/211/214 | Golf Bags & Carts | 30 | A | 0 | 0 | none |
| 208 | 204 | 203/204/208 | Mountain Bikes | 30 | A | 0 | 0 | none |
| 218 | 215 | 203/215/218 | Tents | 30 | A | 0 | 0 | none |