{
"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 (68953,68952,68957,68956,68961,68960)"
}
},
{
"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 = 'vi'"
}
}
]
}
}
variant_id | position | variant |
---|---|---|
68952 | 0 | 100g |
68953 | 0 | 200g |
68956 | 0 | Hũ lẻ |
68957 | 0 | Thùng 12 hũ |
68960 | 0 | Gói lẻ |
68961 | 0 | Thùng 30 gói |