Query time 0.00079
JSON explain
{
"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": 18,
"selectivity_pct": 0.684931507
},
"rows": 9,
"filtered": 0.684931517,
"attached_condition": "cscart_categories.company_id = 1 and (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 '557/%'"
},
"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": ["rfswire_cart.cscart_categories.category_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_category_descriptions.lang_code = 'en')"
},
"table": {
"table_name": "cscart_seo_names",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "dispatch"],
"key": "PRIMARY",
"key_length": "210",
"used_key_parts": [
"object_id",
"type",
"dispatch",
"lang_code",
"company_id"
],
"ref": [
"rfswire_cart.cscart_categories.category_id",
"const",
"const",
"const",
"const"
],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_seo_names.`type` = 'c' and cscart_seo_names.dispatch = '' and cscart_seo_names.lang_code = 'en')"
}
}
}
}
}
Result
| category_id |
parent_id |
id_path |
category |
position |
status |
company_id |
seo_name |
seo_path |
| 3718 |
557 |
557/3718 |
5-Pack Series |
0 |
A |
1 |
5-pack-series |
557 |
| 3359 |
557 |
557/3359 |
700 - 800 MHz Amplifiers |
0 |
A |
1 |
700-800-mhz-amplifiers |
557 |
| 3360 |
557 |
557/3360 |
900 MHz Amplifiers |
0 |
A |
1 |
900-mhz-amplifiers |
557 |
| 638 |
557 |
557/638 |
Cellular Amplifiers |
0 |
A |
1 |
cellular-amplifiers |
557 |
| 3355 |
557 |
557/3355 |
Low Band Amplifiers |
0 |
A |
1 |
low-band-amplifiers |
557 |
| 558 |
557 |
557/558 |
Mobile Amplifiers |
0 |
A |
1 |
mobile-amps |
557 |
| 3362 |
557 |
557/3362 |
Paging Amplifiers |
0 |
A |
1 |
paging-amplifiers |
557 |
| 3358 |
557 |
557/3358 |
RTK Amplifiers |
0 |
A |
1 |
rtk-amplifiers |
557 |
| 3361 |
557 |
557/3361 |
STL Amplifier |
0 |
A |
1 |
stl-amplifier |
557 |
| 3357 |
557 |
557/3357 |
UHF Amplifiers |
0 |
A |
1 |
uhf-amplifiers |
557 |
| 3356 |
557 |
557/3356 |
VHF Amplifiers |
0 |
A |
1 |
vhf-amplifiers |
557 |