{
"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": 9,
"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 |
---|---|---|---|
33070 | 0 | 15521 | 618 |
33071 | 33070 | 15521 | 618 |
33072 | 33070 | 15521 | 618 |
33073 | 33070 | 15521 | 618 |
33074 | 33070 | 15521 | 618 |
33075 | 33070 | 15521 | 618 |
33076 | 33070 | 15521 | 618 |
33077 | 33070 | 15521 | 618 |
33078 | 33070 | 15521 | 618 |
33079 | 33070 | 15521 | 618 |
33080 | 33070 | 15521 | 618 |