Query time 0.00143
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": "ALL",
"possible_keys": ["c_status", "parent"],
"rows": 13,
"filtered": 61.53845978,
"attached_condition": "cscart_categories.parent_id = 0 and 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'"
},
"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": ["gul10001_cs452.cscart_categories.category_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_category_descriptions.lang_code = 'tr')"
},
"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": [
"gul10001_cs452.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 = 'tr')"
}
}
}
}
}
Result
| category_id |
parent_id |
id_path |
category |
position |
status |
company_id |
seo_name |
seo_path |
| 1 |
0 |
1 |
Klasik Güller |
10 |
A |
1 |
klasik-guller |
|
| 7 |
0 |
7 |
Nostalji Gülleri |
20 |
A |
1 |
nostalji-gulleri |
|
| 2 |
0 |
2 |
Peyzaj Gülleri |
30 |
A |
1 |
peyzaj-gulleri |
|
| 5 |
0 |
5 |
Sarmaşık Güller |
60 |
A |
1 |
sarmasik-guller |
|
| 6 |
0 |
6 |
Baston Güller |
70 |
A |
1 |
baston-guller |
|
| 11 |
0 |
11 |
Masal Gülleri |
80 |
A |
1 |
masal-gulleri |
|