{
"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": 9,
"filtered": 100,
"index_condition": "pfv.variant_id in (84338,84337,84339,84340,84341,84342,84343,84345,84346)"
}
},
{
"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 |
---|---|---|
84337 | 1 | 100g |
84338 | 2 | 250g |
84339 | 1 | 100g |
84340 | 2 | 250g |
84341 | 1 | 100g |
84342 | 2 | 250g |
84343 | 1 | 100g |
84345 | 1 | 100g |
84346 | 2 | 340g |