{
"query_block": {
"select_id": 1,
"nested_loop": [
{
"table": {
"table_name": "pc",
"access_type": "range",
"possible_keys": ["PRIMARY", "pt"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["category_id"],
"rows": 23,
"filtered": 100,
"attached_condition": "pc.category_id in (223,224,225,226,227)",
"using_index": true
}
},
{
"table": {
"table_name": "p",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "status", "idx_parent_product_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["devvipiriscom.pc.product_id"],
"rows": 1,
"filtered": 90.83862305,
"attached_condition": "p.parent_product_id = 0 and p.`status` = 'A'"
}
},
{
"table": {
"table_name": "c",
"access_type": "ref",
"possible_keys": ["PRIMARY", "p_category_id"],
"key": "p_category_id",
"key_length": "3",
"used_key_parts": ["category_id"],
"ref": ["devvipiriscom.pc.category_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "c.`status` = 0",
"using_index": true
}
}
]
}
}
| product_id |
|---|
| 290 |
| 291 |
| 7 |
| 11 |
| 12 |
| 15 |
| 278 |
| 280 |
| 282 |
| 27 |
| 28 |
| 31 |
| 34 |
| 38 |
| 41 |
| 78 |
| 79 |
| 80 |
| 81 |
| 91 |
| 92 |
| 102 |
| 107 |
| 109 |