Query time 0.00102
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "25.20"
},
"ordering_operation": {
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "a",
"access_type": "ref",
"possible_keys": [
"status",
"option_id",
"option_id_2"
],
"key": "option_id",
"used_key_parts": [
"option_id",
"status"
],
"key_length": "6",
"ref": [
"const",
"const"
],
"rows_examined_per_scan": 36,
"rows_produced_per_join": 36,
"filtered": "100.00",
"cost_info": {
"read_cost": "9.00",
"eval_cost": "3.60",
"prefix_cost": "12.60",
"data_read_per_join": "1K"
},
"used_columns": [
"variant_id",
"option_id",
"position",
"modifier",
"modifier_type",
"weight_modifier",
"weight_modifier_type",
"status"
]
}
},
{
"table": {
"table_name": "b",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"variant_id",
"lang_code"
],
"key_length": "9",
"ref": [
"cscartdb.a.variant_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 36,
"filtered": "100.00",
"cost_info": {
"read_cost": "9.00",
"eval_cost": "3.60",
"prefix_cost": "25.20",
"data_read_per_join": "27K"
},
"used_columns": [
"variant_id",
"lang_code",
"variant_name"
]
}
}
]
}
}
}
Result
variant_id |
position |
modifier |
modifier_type |
weight_modifier |
weight_modifier_type |
variant_name |
2943 |
1 |
0.000 |
A |
0.000 |
A |
Kreature Orange |
2931 |
2 |
0.000 |
A |
0.000 |
A |
Brilliant Yellow |
2932 |
3 |
0.000 |
A |
0.000 |
A |
Sparkle White |
2933 |
4 |
0.000 |
A |
0.000 |
A |
Blood Red |
2934 |
5 |
0.000 |
A |
0.000 |
A |
Burnt Orange |
2935 |
6 |
0.000 |
A |
0.000 |
A |
Kreature Purple |
2936 |
7 |
0.000 |
A |
0.000 |
A |
Deep Violet |
2937 |
8 |
0.000 |
A |
0.000 |
A |
Bubble Gum Pink |
2938 |
9 |
0.000 |
A |
0.000 |
A |
Dark Rose |
2939 |
10 |
0.000 |
A |
0.000 |
A |
Metallic Silver |
2940 |
11 |
0.000 |
A |
0.000 |
A |
Chartreuse |
2941 |
12 |
0.000 |
A |
0.000 |
A |
Swamp Green |
2942 |
13 |
0.000 |
A |
0.000 |
A |
Shimmer Gold |
2944 |
14 |
0.000 |
A |
0.000 |
A |
Bright Cherry |
2945 |
15 |
0.000 |
A |
0.000 |
A |
Dark Brown |
2946 |
16 |
0.000 |
A |
0.000 |
A |
Kreature Green |
2947 |
17 |
0.000 |
A |
0.000 |
A |
Sparkle Bronze |
2948 |
18 |
0.000 |
A |
0.000 |
A |
Deep Blue-Green |
2949 |
19 |
0.000 |
A |
0.000 |
A |
Ocean Blue |
2950 |
20 |
0.000 |
A |
0.000 |
A |
Kreature Blue |
2951 |
21 |
0.000 |
A |
0.000 |
A |
Inky Grey |
2952 |
22 |
0.000 |
A |
0.000 |
A |
Jade |
2953 |
23 |
0.000 |
A |
0.000 |
A |
Gray Green |
2954 |
24 |
0.000 |
A |
0.000 |
A |
Olive |
2955 |
25 |
0.000 |
A |
0.000 |
A |
Rose Gold |
2956 |
26 |
0.000 |
A |
0.000 |
A |
Coal Black |
2957 |
27 |
0.000 |
A |
0.000 |
A |
Rust |
2958 |
28 |
0.000 |
A |
0.000 |
A |
Copper |
2959 |
29 |
0.000 |
A |
0.000 |
A |
Ukon Brown |
2960 |
30 |
0.000 |
A |
0.000 |
A |
Valentine |
2961 |
31 |
0.000 |
A |
0.000 |
A |
Fire Red |
2962 |
32 |
0.000 |
A |
0.000 |
A |
Chocolate |
2963 |
33 |
0.000 |
A |
0.000 |
A |
Ruddy Gold |
2964 |
34 |
0.000 |
A |
0.000 |
A |
Jet Black |
2965 |
35 |
0.000 |
A |
0.000 |
A |
Solid White |
2966 |
36 |
0.000 |
A |
0.000 |
A |
Fluorescent Blue |
2967 |
37 |
0.000 |
A |
0.000 |
A |
Fluorescent Orange |
2968 |
38 |
0.000 |
A |
0.000 |
A |
Fluorescent Purple |
2969 |
39 |
0.000 |
A |
0.000 |
A |
Fluorescent Green |
2970 |
40 |
7.990 |
A |
0.000 |
A |
Red-Orange Glow |
2971 |
41 |
7.990 |
A |
0.000 |
A |
White-Green Glow |
2972 |
42 |
7.990 |
A |
0.000 |
A |
Blue Glow |
2973 |
43 |
4.990 |
A |
0.000 |
A |
Golden Copper Shift |
2974 |
44 |
4.990 |
A |
0.000 |
A |
Rusty Pink Shift |
2975 |
45 |
4.990 |
A |
0.000 |
A |
Blue Purple Shift |
2976 |
46 |
4.990 |
A |
0.000 |
A |
Blue Green Shift |