{
"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": 12,
"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 |
---|---|---|---|
1401 | 0 | 15574 | 208 |
33449 | 1401 | 15574 | 208 |
33448 | 1401 | 15574 | 208 |
33447 | 1401 | 15574 | 208 |
33446 | 1401 | 15574 | 208 |
33445 | 1401 | 15574 | 208 |
33444 | 1401 | 15574 | 208 |
33443 | 1401 | 15574 | 208 |
33450 | 1401 | 15574 | 208 |
33451 | 1401 | 15574 | 208 |
33452 | 1401 | 15574 | 208 |
33453 | 1401 | 15574 | 208 |
33454 | 1401 | 15574 | 208 |
33455 | 1401 | 15574 | 208 |