Query time 0.00077
JSON explain
{
"query_block": {
"select_id": 1,
"nested_loop": [
{
"table": {
"table_name": "gpf",
"access_type": "ref",
"possible_keys": ["PRIMARY", "idx_group_id"],
"key": "idx_group_id",
"key_length": "3",
"used_key_parts": ["group_id"],
"ref": ["const"],
"rows": 2,
"filtered": 100
}
},
{
"table": {
"table_name": "gp",
"access_type": "ref",
"possible_keys": ["PRIMARY", "idx_group_id"],
"key": "idx_group_id",
"key_length": "3",
"used_key_parts": ["group_id"],
"ref": ["const"],
"rows": 9,
"filtered": 100
}
},
{
"table": {
"table_name": "pfv",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"fl",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "idx_product_feature_variant_id",
"key_length": "12",
"used_key_parts": ["product_id", "feature_id", "lang_code"],
"ref": ["dev_db.gp.product_id", "dev_db.gpf.feature_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "pfv.lang_code = 'vi'",
"using_index": true
}
}
]
}
}
Result
feature_id |
product_id |
variant_id |
group_id |
23308 |
32304 |
80862 |
15426 |
23308 |
32347 |
80862 |
15426 |
23308 |
32348 |
80862 |
15426 |
23308 |
32349 |
80862 |
15426 |
23308 |
32350 |
80862 |
15426 |
23308 |
32351 |
80863 |
15426 |
23308 |
32352 |
80863 |
15426 |
23308 |
32353 |
80863 |
15426 |
23308 |
32354 |
80863 |
15426 |
23308 |
32355 |
80863 |
15426 |
23309 |
32304 |
80864 |
15426 |
23309 |
32347 |
80865 |
15426 |
23309 |
32348 |
80866 |
15426 |
23309 |
32349 |
80867 |
15426 |
23309 |
32350 |
80868 |
15426 |
23309 |
32351 |
80864 |
15426 |
23309 |
32352 |
80865 |
15426 |
23309 |
32353 |
80866 |
15426 |
23309 |
32354 |
80867 |
15426 |
23309 |
32355 |
80868 |
15426 |