{
"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": 10,
"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 |
---|---|---|---|
28009 | 23406 | 15050 | 557 |
28007 | 23406 | 15050 | 557 |
28010 | 23406 | 15050 | 557 |
28011 | 23406 | 15050 | 557 |
28012 | 23406 | 15050 | 557 |
28013 | 23406 | 15050 | 557 |
28014 | 23406 | 15050 | 557 |
23406 | 0 | 15050 | 557 |
28005 | 23406 | 15050 | 557 |
28004 | 23406 | 15050 | 557 |
28008 | 23406 | 15050 | 557 |
28006 | 23406 | 15050 | 557 |