{
"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 (79624,79625,81005,81002,81004,81003,81006,81007,81011,81012,81013)"
}
},
{
"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 = 'en'"
}
}
]
}
}
variant_id | position | variant |
---|---|---|
79624 | 0 | 150g |
79625 | 0 | 210g |
81002 | 1 | Unscented |
81003 | 2 | Rose garden |
81004 | 3 | Strawberry |
81005 | 4 | Cinnamon orange |
81006 | 5 | Vanilla cookie |
81007 | 6 | Jasmine |
81011 | 1 | Purple |
81012 | 2 | Blue |
81013 | 3 | Orange |