{
"query_block": {
"select_id": 1,
"read_sorted_file": {
"filesort": {
"sort_key": "a.position, a.variant_id",
"table": {
"table_name": "a",
"access_type": "ref",
"possible_keys": ["status", "option_id", "option_id_2"],
"key": "status",
"key_length": "3",
"used_key_parts": ["status"],
"ref": ["const"],
"rowid_filter": {
"range": {
"key": "option_id_2",
"used_key_parts": ["option_id"]
},
"rows": 6,
"selectivity_pct": 18.75
},
"rows": 32,
"filtered": 18.75,
"index_condition": "a.`status` = 'A'",
"attached_condition": "a.`status` <=> 'A' and a.option_id in (13,14)"
}
}
},
"table": {
"table_name": "b",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["variant_id", "lang_code"],
"ref": ["smscrm_edev.a.variant_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(b.lang_code = 'ja')"
}
}
}
| variant_id | option_id | position | modifier | modifier_type | weight_modifier | weight_modifier_type | variant_name |
|---|---|---|---|---|---|---|---|
| 48 | 13 | 0 | 0.000 | A | 0.000 | A | |
| 49 | 14 | 0 | 0.000 | A | 0.000 | A | 16GB |
| 50 | 14 | 0 | 100.000 | A | 0.000 | A | 32GB |
| 51 | 14 | 0 | 200.000 | A | 0.000 | A | 64GB |
| 52 | 14 | 0 | 300.000 | A | 0.000 | A | 128GB |
| 47 | 13 | 1 | 200.000 | A | 0.000 | A |