{
"query_block": {
"select_id": 1,
"nested_loop": [
{
"table": {
"table_name": "gp",
"access_type": "ref",
"possible_keys": ["idx_group_id"],
"key": "idx_group_id",
"key_length": "3",
"used_key_parts": ["group_id"],
"ref": ["const"],
"rows": 15,
"filtered": 100
}
},
{
"table": {
"table_name": "p",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["dev_db.gp.product_id"],
"rows": 1,
"filtered": 100
}
}
]
}
}
product_id | parent_product_id | group_id | company_id |
---|---|---|---|
26895 | 0 | 15467 | 563 |
32569 | 26895 | 15467 | 563 |
32570 | 26895 | 15467 | 563 |
32571 | 26895 | 15467 | 563 |
32572 | 26895 | 15467 | 563 |
32573 | 26895 | 15467 | 563 |
32574 | 26895 | 15467 | 563 |
32575 | 26895 | 15467 | 563 |
32576 | 26895 | 15467 | 563 |
32577 | 26895 | 15467 | 563 |
32578 | 26895 | 15467 | 563 |
32579 | 26895 | 15467 | 563 |
32580 | 26895 | 15467 | 563 |
32581 | 26895 | 15467 | 563 |
32582 | 26895 | 15467 | 563 |
32583 | 26895 | 15467 | 563 |
32584 | 26895 | 15467 | 563 |
32585 | 26895 | 15467 | 563 |