{
"query_block": {
"select_id": 1,
"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"],
"rows": 5,
"filtered": 100,
"index_condition": "a.option_id in (1233,1234) 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": ["staging2_wesave_com.a.variant_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(b.lang_code = 'en')"
}
}
}
variant_id | option_id | position | modifier | modifier_type | weight_modifier | weight_modifier_type | variant_name |
---|---|---|---|---|---|---|---|
5867 | 1233 | 0 | 0.000 | A | 0.000 | A | 001 |
5868 | 1233 | 0 | 0.000 | A | 0.000 | A | 002 |
5869 | 1233 | 0 | 0.000 | A | 0.000 | A | 003 |
5870 | 1233 | 0 | 0.000 | A | 0.000 | A | 004 |
5871 | 1234 | 0 | 0.000 | A | 0.000 | A | Yes |