Query time 0.00142
JSON explain
{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "netting_categories.is_trash, netting_categories.position, netting_category_descriptions.category",
"temporary_table": {
"nested_loop": [
{
"table": {
"table_name": "netting_categories",
"access_type": "range",
"possible_keys": ["PRIMARY", "c_status", "parent", "p_category_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["category_id"],
"rows": 2,
"filtered": 100,
"index_condition": "netting_categories.category_id in (310,315) and netting_categories.category_id <> 264",
"attached_condition": "(netting_categories.usergroup_ids = '' or find_in_set(0,netting_categories.usergroup_ids) or find_in_set(1,netting_categories.usergroup_ids)) and netting_categories.`status` = 'A' and netting_categories.parent_id <> 264 and netting_categories.storefront_id in (0,1)"
}
},
{
"table": {
"table_name": "netting_category_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["category_id", "lang_code"],
"ref": ["pucuda_cscart.netting_categories.category_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(netting_category_descriptions.lang_code = 'en')"
}
},
{
"table": {
"table_name": "netting_seo_names",
"access_type": "ref",
"possible_keys": ["PRIMARY", "dispatch"],
"key": "PRIMARY",
"key_length": "206",
"used_key_parts": ["object_id", "type", "dispatch", "lang_code"],
"ref": [
"pucuda_cscart.netting_categories.category_id",
"const",
"const",
"const"
],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(netting_seo_names.`type` = 'c' and netting_seo_names.dispatch = '' and netting_seo_names.lang_code = 'en')"
}
},
{
"table": {
"table_name": "netting_companies",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["company_id"],
"ref": ["pucuda_cscart.netting_categories.company_id"],
"rows": 1,
"filtered": 100
}
}
]
}
}
}
}
Result
category_id |
parent_id |
id_path |
category |
position |
status |
company_id |
storefront_id |
product_count |
seo_name |
seo_path |
ab__lc_catalog_image_control |
age_verification |
age_limit |
age_warning_message |
company |
310 |
0 |
310 |
Rope |
0 |
A |
0 |
0 |
2 |
rope |
|
top |
N |
0 |
|
|
315 |
310 |
310/315 |
Specialty Ropes |
50 |
A |
0 |
0 |
38 |
specialty-ropes |
310 |
none |
N |
0 |
|
|