{
"query_block": {
"select_id": 1,
"nested_loop": [
{
"table": {
"table_name": "pfv",
"access_type": "range",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["variant_id"],
"rows": 6,
"filtered": 100,
"index_condition": "pfv.variant_id in (87888,87886,87887,87891,87889,87890)"
}
},
{
"table": {
"table_name": "pfvd",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["variant_id", "lang_code"],
"ref": ["dev_db.pfv.variant_id", "const"],
"rows": 1,
"filtered": 100,
"index_condition": "pfvd.lang_code = 'en'"
}
}
]
}
}
variant_id | position | variant |
---|---|---|
87886 | 0 | Lon lẻ |
87887 | 0 | Hộp 4 lon |
87888 | 0 | Hộp 12 lon |
87889 | 0 | Chia lẻ |
87890 | 0 | Hộp 6 chai |
87891 | 0 | Hộp 24 chai |