{
"query_block": {
"select_id": 1,
"table": {
"table_name": "c",
"access_type": "ALL",
"rows": 217,
"filtered": 100,
"attached_condition": "c.company_id = 1 and c.id_path like '%280%' and c.`status` = 'A'"
},
"table": {
"table_name": "sm",
"access_type": "ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["category_id"],
"ref": ["noframes_angrybeaver.c.category_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(sm.search_phrases <> 'NULL' or c.`level` = (subquery#2)) and trigcond(sm.lang_code = 'ru')"
},
"subqueries": [
{
"query_block": {
"select_id": 2,
"table": {
"table_name": "cscart_categories",
"access_type": "const",
"possible_keys": ["PRIMARY", "p_category_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["category_id"],
"ref": ["const"],
"rows": 1,
"filtered": 100
}
}
}
]
}
}
| parent_id | search_phrases | category_id |
|---|---|---|
| 265 | 280 | |
| 280 | 283 | |
| 280 | 286 | |
| 280 | 291 | |
| 280 | 301 | |
| 286 | 308 | |
| 280 | 309 | |
| 291 | 313 | |
| 286 | 323 | |
| 286 | 327 | |
| 280 | 370 | |
| 280 | 439 | |
| 280 | 442 | |
| 439 | 455 | |
| 393 | 1151 | |
| 283 | 667 | |
| 309 | 700 | |
| 309 | 708 | |
| 309 | 775 | |
| 442 | 784 | |
| 442 | 784 | |
| 309 | 787 | |
| 286 | 1614 | |
| 291 | 1618 | |
| 286 | 1622 | |
| 283 | 1629 | |
| 283 | 1636 | |
| 370 | 1637 | |
| 283 | 1638 | |
| 283 | 1641 | |
| 439 | 1643 | |
| 291 | 1644 | |
| 291 | 1645 | |
| 442 | 1646 | |
| 291 | 1647 | |
| 286 | 1648 | |
| 283 | 1649 | |
| 291 | 1650 | |
| 286 | 1651 | |
| 291 | 1652 | |
| 291 | 1654 | |
| 291 | 1655 | |
| 370 | 1656 | |
| 286 | 1657 | |
| 439 | 1658 | |
| 286 | 1659 | |
| 291 | 1660 | |
| 286 | 1661 | |
| 291 | 1662 | |
| 291 | 1663 | |
| 439 | 1664 | |
| 286 | 1665 | |
| 286 | 1666 | |
| 439 | 1668 | |
| 283 | 1669 | |
| 291 | 1671 | |
| 291 | 1672 | |
| 370 | 1673 | |
| 283 | 1674 | |
| 283 | 1675 | |
| 286 | 1676 | |
| 283 | 1677 | |
| 283 | 1678 | |
| 291 | 1679 | |
| 291 | 1680 | |
| 283 | 1681 | |
| 291 | 1682 | |
| 291 | 1683 | |
| 291 | 1684 | |
| 439 | 1685 |