{
"query_block": {
"select_id": 1,
"cost": 0.024944488,
"nested_loop": [
{
"read_sorted_file": {
"filesort": {
"sort_key": "a.position, a.variant_id",
"table": {
"table_name": "a",
"access_type": "range",
"possible_keys": ["status", "option_id", "option_id_2"],
"key": "option_id",
"key_length": "6",
"used_key_parts": ["option_id", "status"],
"loops": 1,
"rows": 6,
"cost": 0.011682,
"filtered": 100,
"index_condition": "a.option_id in (31,34) and a.`status` = 'A'"
}
}
}
},
{
"table": {
"table_name": "b",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["variant_id", "lang_code"],
"ref": ["u428615623_ecartifygonje.a.variant_id", "const"],
"loops": 6,
"rows": 1,
"cost": 0.00946264,
"filtered": 100,
"attached_condition": "trigcond(b.lang_code = 'de')"
}
}
]
}
}
| variant_name | variant_id | option_id | position | modifier | modifier_type | weight_modifier | weight_modifier_type | point_modifier | point_modifier_type | status |
|---|---|---|---|---|---|---|---|---|---|---|
| 1L | 142 | 31 | 10 | 0.000 | A | 0.000 | A | 0.000 | A | A |
| No Chilli | 152 | 34 | 10 | 0.000 | A | 0.000 | A | 0.000 | A | A |
| 3L | 143 | 31 | 20 | 50.000 | A | 0.000 | A | 0.000 | A | A |
| Mild | 153 | 34 | 20 | 0.000 | A | 0.000 | A | 0.000 | A | A |
| 5L | 144 | 31 | 30 | 100.000 | A | 0.000 | A | 0.000 | A | A |
| Spicy | 154 | 34 | 30 | 0.000 | A | 0.000 | A | 0.000 | A | A |