{
"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": 11,
"filtered": 100,
"index_condition": "pfv.variant_id in (75462,75461,81266,81265,81268,81267,81269,81270,86606,86607,86608)"
}
},
{
"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 |
---|---|---|
75461 | 0 | Túi 100g |
75462 | 0 | Hũ 150gr |
81265 | 1 | 50ml |
81266 | 2 | 100ml |
81267 | 1 | Hộp sen |
81268 | 2 | Hộp Tết |
81269 | 1 | Hộp sen |
81270 | 2 | Hộp Tết |
86606 | 1 | Mẫu vẽ hoa sen ngẫu nhiên |
86607 | 2 | Mẫu vẽ hoa mai, hoa đào tết ngẫu nhiên |
86608 | 3 | Mẫu vẽ phong cảnh Huế ngẫu nhiên |