Query time 0.00107
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": "range",
"possible_keys": ["id_path", "c_status"],
"key": "id_path",
"key_length": "767",
"used_key_parts": ["id_path"],
"rows": 35,
"filtered": 100,
"index_condition": "cscart_categories.id_path like '1669/%'",
"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) or find_in_set(62,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": ["cscart_migrate.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": [
"cscart_migrate.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 |
| 1839 |
1670 |
1669/1670/1839 |
Bulbs |
5 |
A |
1 |
bulbs |
1669/1670 |
| 1701 |
1699 |
1669/1699/1701 |
Cord Hung Pendants |
10 |
A |
1 |
cord-pendant-lighting |
1669/1699 |
| 1675 |
1670 |
1669/1670/1675 |
Gooseneck Arms |
10 |
A |
1 |
gooseneck-arms |
1669/1670 |
| 1697 |
1831 |
1669/1831/1697 |
Gooseneck Lights |
10 |
A |
1 |
goosenecks |
1669/1831 |
| 1979 |
1792 |
1669/1792/1979 |
NEW Products |
10 |
A |
1 |
new-products |
1669/1792 |
| 1837 |
1715 |
1669/1715/1837 |
Table Lamps |
10 |
A |
1 |
table-lamps |
1669/1715 |
| 1707 |
1706 |
1669/1706/1707 |
Wall Mounted |
10 |
A |
1 |
gooseneck-lighting |
1669/1706 |
| 1708 |
1706 |
1669/1706/1708 |
Ceiling Mounted |
20 |
A |
1 |
stem-mount-lighting |
1669/1706 |
| 1792 |
1669 |
1669/1792 |
Featured |
20 |
A |
1 |
featured |
1669 |
| 1838 |
1715 |
1669/1715/1838 |
Floor Lamps |
20 |
A |
1 |
floor-lamps |
1669/1715 |
| 1676 |
1670 |
1669/1670/1676 |
Hardware & Add-Ons |
20 |
A |
1 |
replacement-hardware |
1669/1670 |
| 1704 |
1699 |
1669/1699/1704 |
Stem Mount Pendants |
20 |
A |
1 |
stem-mount-lighting |
1669/1699 |
| 1699 |
1669 |
1669/1699 |
Ceiling Lighting |
30 |
A |
1 |
ceiling-lighting |
1669 |
| 1700 |
1699 |
1669/1699/1700 |
Chain Hung Pendants |
30 |
A |
1 |
chain-hung-lighting |
1669/1699 |
| 1840 |
1670 |
1669/1670/1840 |
Glass |
30 |
A |
1 |
glass |
1669/1670 |
| 1835 |
1706 |
1669/1706/1835 |
Post Mounts |
30 |
A |
1 |
post-mounts |
1669/1706 |
| 1880 |
1792 |
1669/1792/1880 |
Spec by Shade |
30 |
A |
1 |
spec-by-shade |
1669/1792 |
| 1703 |
1699 |
1669/1699/1703 |
Flush Mounts |
40 |
A |
1 |
flush-mount-lighting |
1669/1699 |
| 1793 |
1792 |
1669/1792/1793 |
Oversized Shades |
40 |
A |
1 |
oversized-shades |
1669/1792 |
| 1836 |
1706 |
1669/1706/1836 |
Post Tops |
40 |
A |
1 |
post-tops |
1669/1706 |
| 1831 |
1669 |
1669/1831 |
Wall Lighting |
40 |
A |
1 |
wall |
1669 |
| 1829 |
1699 |
1669/1699/1829 |
Multi-Pendant Canopies |
50 |
A |
1 |
multi-pendant-canopies |
1669/1699 |
| 1706 |
1669 |
1669/1706 |
Outdoor Lighting |
50 |
A |
1 |
outdoor-lighting |
1669 |
| 1827 |
1792 |
1669/1792/1827 |
Schoolhouse |
50 |
A |
1 |
schoolhouse |
1669/1792 |
| 1705 |
1699 |
1669/1699/1705 |
Chandeliers |
60 |
A |
1 |
chandeliers |
1669/1699 |
| 1886 |
1792 |
1669/1792/1886 |
Timber & Ore |
60 |
A |
1 |
timber-and-ore |
1669/1792 |
| 1715 |
1669 |
1669/1715 |
Lamps |
70 |
A |
1 |
task-lighting |
1669 |
| 1670 |
1669 |
1669/1670 |
Commercial Lighting Accessories |
80 |
A |
1 |
accessories |
1669 |
| 1716 |
1831 |
1669/1831/1716 |
Sign Lighting |
80 |
A |
1 |
sign-lighting |
1669/1831 |
| 1832 |
1831 |
1669/1831/1832 |
Sconces |
90 |
A |
1 |
sconces |
1669/1831 |
| 1833 |
1831 |
1669/1831/1833 |
Plug-In Sconces |
100 |
A |
1 |
plug-in-sconces |
1669/1831 |
| 1834 |
1831 |
1669/1831/1834 |
Vanity Lights |
110 |
A |
1 |
vanity-lights |
1669/1831 |