{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "cscart_categories.is_trash, cscart_categories.position, cscart_category_descriptions.category",
"temporary_table": {
"nested_loop": [
{
"table": {
"table_name": "cscart_categories",
"access_type": "range",
"possible_keys": [
"PRIMARY",
"c_status",
"parent",
"id_path",
"p_category_id"
],
"key": "id_path",
"key_length": "767",
"used_key_parts": ["id_path"],
"rows": 12,
"filtered": 100,
"index_condition": "cscart_categories.id_path like '203/%'",
"attached_condition": "(cscart_categories.usergroup_ids = '' or find_in_set(0,cscart_categories.usergroup_ids) or find_in_set(1,cscart_categories.usergroup_ids)) and cscart_categories.`status` = 'A' and cscart_categories.category_id <> 265 and cscart_categories.parent_id <> 265 and cscart_categories.storefront_id in (0,1)"
}
},
{
"table": {
"table_name": "cscart_category_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["category_id", "lang_code"],
"ref": ["cscart.cscart_categories.category_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_category_descriptions.lang_code = 'en')"
}
}
]
}
}
}
}
| category_id | parent_id | id_path | category | position | status | company_id | storefront_id |
|---|---|---|---|---|---|---|---|
| 204 | 203 | 203/204 | Велосипеды | 10 | A | 0 | 0 |
| 212 | 211 | 203/211/212 | Клюшки для гольфа | 10 | A | 0 | 0 |
| 210 | 204 | 203/204/210 | Комфорт и круизер | 10 | A | 0 | 0 |
| 216 | 215 | 203/215/216 | Рюкзаки | 10 | A | 0 | 0 |
| 211 | 203 | 203/211 | Гольф | 20 | A | 0 | 0 |
| 217 | 215 | 203/215/217 | Спальники | 20 | A | 0 | 0 |
| 213 | 211 | 203/211/213 | Шары для гольфа | 20 | A | 0 | 0 |
| 209 | 204 | 203/204/209 | Шоссейные велосипеды | 20 | A | 0 | 0 |
| 208 | 204 | 203/204/208 | Горные велосипеды | 30 | A | 0 | 0 |
| 215 | 203 | 203/215 | Кемпинг | 30 | A | 0 | 0 |
| 218 | 215 | 203/215/218 | Палатки | 30 | A | 0 | 0 |
| 214 | 211 | 203/211/214 | Сумки для гольфа | 30 | A | 0 | 0 |