{
"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": 11,
"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 |
---|---|---|---|
42255 | 0 | 15804 | 415 |
42254 | 42255 | 15804 | 415 |
40319 | 42255 | 15804 | 415 |
6572 | 42255 | 15804 | 415 |
36264 | 42255 | 15804 | 415 |
36263 | 42255 | 15804 | 415 |
36265 | 42255 | 15804 | 415 |
37256 | 42255 | 15804 | 415 |
37257 | 42255 | 15804 | 415 |
37258 | 42255 | 15804 | 415 |
37259 | 42255 | 15804 | 415 |
37260 | 42255 | 15804 | 415 |
42253 | 42255 | 15804 | 415 |