{
"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": 10,
"filtered": 100,
"index_condition": "pfv.variant_id in (68123,68124,68122,72792,72793,87350,72794,72795,74054,74053)"
}
},
{
"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 |
---|---|---|
68122 | 0 | Size S |
68123 | 0 | Size M |
68124 | 0 | Size L |
72792 | 1 | Chữ và logo |
72793 | 2 | Hình từ 1-2 nhân vật |
72794 | 0 | Size 15 x 15 cm |
72795 | 0 | Size 20 x 20 cm |
74053 | 0 | Dáng giọt nước |
74054 | 0 | Dáng hình trụ |
87350 | 3 | Hình từ 3-4 nhân vật |