Query time 0.00072
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"],
"rows": 10,
"filtered": 1.902587533,
"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 '401/870/%'"
},
"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 |
| 871 |
870 |
401/870/871 |
HYT/Hytera |
10 |
A |
1 |
hyt-hytera-en-2-3-4 |
401/870 |
| 875 |
870 |
401/870/875 |
ICOM |
20 |
A |
1 |
icom-en-2-3-4-5 |
401/870 |
| 886 |
870 |
401/870/886 |
Kenwood |
30 |
A |
1 |
kenwood-en-2-3-4-5 |
401/870 |
| 901 |
870 |
401/870/901 |
M/A Com/Harris |
40 |
A |
1 |
m-a-com-en-2-3-4 |
401/870 |
| 877 |
870 |
401/870/877 |
Maxon |
50 |
A |
1 |
maxon-en-2-3-4 |
401/870 |
| 879 |
870 |
401/870/879 |
Midland |
60 |
A |
1 |
midland-en-2-3 |
401/870 |
| 873 |
870 |
401/870/873 |
Motorola |
70 |
A |
1 |
motorola-en-2-3-4-5 |
401/870 |
| 888 |
870 |
401/870/888 |
RELM |
80 |
A |
1 |
relm-en-2-3-4 |
401/870 |
| 911 |
870 |
401/870/911 |
Tait |
90 |
A |
1 |
tait-en-2-3 |
401/870 |
| 890 |
870 |
401/870/890 |
Vertex Standard |
100 |
A |
1 |
vertex-en-2-3-4 |
401/870 |
| 2544 |
870 |
401/870/2544 |
Baofeng-Wouxun |
110 |
A |
1 |
baofeng-wouxun-en-2 |
401/870 |
| 2551 |
870 |
401/870/2551 |
EF Johnson |
120 |
A |
1 |
ef-johnson-en-3 |
401/870 |