{
"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 (75125,75124,75123,75122,75121,75126)"
}
},
{
"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 |
---|---|---|
75121 | 0 | Trẻ sơ sinh |
75122 | 0 | 0 đến 3 tháng |
75123 | 0 | 3 đến 6 tháng |
75124 | 0 | 6 đến 9 tháng |
75125 | 0 | 9 đến 12 tháng |
75126 | 0 | 24 tháng |