{
"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": 19,
"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 |
---|---|---|---|
44525 | 44532 | 16729 | 415 |
44520 | 44532 | 16729 | 415 |
44533 | 44532 | 16729 | 415 |
44532 | 0 | 16729 | 415 |
44531 | 44532 | 16729 | 415 |
44530 | 44532 | 16729 | 415 |
44526 | 44532 | 16729 | 415 |
44529 | 44532 | 16729 | 415 |
44528 | 44532 | 16729 | 415 |
44527 | 44532 | 16729 | 415 |
44534 | 44532 | 16729 | 415 |
44535 | 44532 | 16729 | 415 |
44536 | 44532 | 16729 | 415 |