Query time 0.00219
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "109.26"
},
"nested_loop": [
{
"table": {
"table_name": "pfvd",
"access_type": "range",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"variant_id",
"lang_code"
],
"key_length": "9",
"rows_examined_per_scan": 42,
"rows_produced_per_join": 42,
"filtered": "100.00",
"cost_info": {
"read_cost": "50.46",
"eval_cost": "8.40",
"prefix_cost": "58.86",
"data_read_per_join": "189K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
],
"attached_condition": "((`webmarco`.`pfvd`.`variant_id` in (62213,62212,62214,62215,62216,62217,62218,62572,62576,62577,62578,62579,62580,62581,62582,62583,63022,63589,63590,63591,63592,63593,63594,63595,63597,62221,63598,62223,62224,62225,62226,62227,63600,63601,63602,63603,63604,63605,62228,63599,63607,63608)) and (`webmarco`.`pfvd`.`lang_code` = 'en'))"
}
},
{
"table": {
"table_name": "pfv",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"variant_id"
],
"key_length": "3",
"ref": [
"webmarco.pfvd.variant_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 42,
"filtered": "100.00",
"cost_info": {
"read_cost": "42.00",
"eval_cost": "8.40",
"prefix_cost": "109.26",
"data_read_per_join": "47K"
},
"used_columns": [
"variant_id",
"position"
]
}
}
]
}
}
Result
variant_id |
position |
variant |
62212 |
0 |
In Low Season (15/11 / 2021-15 / 04/2022) |
62213 |
0 |
In Low Season (01/10 / 2022-15 / 11/2022) |
62214 |
0 |
In Mid Season (16/04/2022 - 31/05/2022) |
62215 |
0 |
In Mid Season (01/09/2022 - 30/09/2022) |
62216 |
0 |
In High Season (01/06/2022-10/07/2022) |
62217 |
0 |
In Higher Season (11/07/2022 - 05/08/2022) |
62218 |
0 |
In the Highst Season (06/08/2022 - 31/08/2022) |
62221 |
0 |
101 |
62223 |
0 |
103 |
62224 |
0 |
104 |
62225 |
0 |
105 |
62226 |
0 |
106 |
62227 |
0 |
107 |
62228 |
0 |
108 |
62572 |
0 |
Room 1 |
62576 |
0 |
Room 2 |
62577 |
0 |
Room 3 |
62578 |
0 |
Room 4 |
62579 |
0 |
Room 5 |
62580 |
0 |
Room 6 |
62581 |
0 |
Room 7 |
62582 |
0 |
Room 8 |
62583 |
0 |
Room 9 |
63022 |
0 |
Room 10 |
63589 |
0 |
V1 |
63590 |
0 |
V2 |
63591 |
0 |
V3 |
63592 |
0 |
V4 |
63593 |
0 |
V5 |
63594 |
0 |
V6 |
63595 |
0 |
V9 |
63597 |
0 |
V10 |
63598 |
0 |
208 |
63599 |
0 |
201 |
63600 |
0 |
202 |
63601 |
0 |
203 |
63602 |
0 |
204 |
63603 |
0 |
205 |
63604 |
0 |
206 |
63605 |
0 |
207 |
63607 |
0 |
V7 |
63608 |
0 |
V13 |