{
"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": 8,
"filtered": 100,
"index_condition": "pfv.variant_id in (82001,82007,82008,82002,82003,82004,82005,82006)"
}
},
{
"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 |
---|---|---|
82001 | 1 | Hồng |
82002 | 2 | Chanh muối |
82003 | 3 | Xanh dương |
82004 | 4 | Xanh dương đậm |
82005 | 5 | Hồng - Vàng |
82006 | 6 | Trắng - Xám |
82007 | 1 | 17cm |
82008 | 2 | 18cm |