{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "cscart_categories.is_trash, cscart_categories.position, cscart_category_descriptions.category",
"temporary_table": {
"table": {
"table_name": "cscart_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": 3.614457831
},
"rows": 3,
"filtered": 3.614457846,
"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.id_path like '250/%'"
},
"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": ["smscrm_edev.cscart_categories.category_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_category_descriptions.lang_code = 'ja')"
}
}
}
}
}
| category_id | parent_id | id_path | category | position | status | company_id |
|---|---|---|---|---|---|---|
| 251 | 250 | 250/251 | 計算機 | 10 | A | 0 |
| 252 | 250 | 250/252 | オフィス文具 | 20 | A | 0 |
| 253 | 250 | 250/253 | 金庫 | 30 | A | 0 |