{
"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": 12,
"filtered": 100,
"index_condition": "pfv.variant_id in (81172,81173,81174,81175,81176,82029,82030,82031,82032,82033,82034,82035)"
}
},
{
"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 |
---|---|---|
81172 | 1 | SG04A |
81173 | 2 | SG04B |
81174 | 3 | SG02 |
81175 | 4 | SG01 |
81176 | 5 | SG03 |
82029 | 1 | Dây Thuần 2 |
82030 | 2 | Dây Thuần 1 |
82031 | 3 | Set 2 dây |
82032 | 1 | Xanh dương |
82033 | 2 | Cà rốt |
82034 | 3 | Hồng |
82035 | 4 | Tím |