Query time 0.00114
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "83.24"
},
"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": 32,
"rows_produced_per_join": 32,
"filtered": "100.00",
"cost_info": {
"read_cost": "38.45",
"eval_cost": "6.40",
"prefix_cost": "44.85",
"data_read_per_join": "144K"
},
"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,63593,63594,63595,63597,62223,62224,62225,62226,62227,63600,63601,63602,63603,63604,63605)) 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": 32,
"filtered": "100.00",
"cost_info": {
"read_cost": "32.00",
"eval_cost": "6.40",
"prefix_cost": "83.25",
"data_read_per_join": "36K"
},
"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) |
62223 |
0 |
103 |
62224 |
0 |
104 |
62225 |
0 |
105 |
62226 |
0 |
106 |
62227 |
0 |
107 |
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 |
63593 |
0 |
V5 |
63594 |
0 |
V6 |
63595 |
0 |
V9 |
63597 |
0 |
V10 |
63600 |
0 |
202 |
63601 |
0 |
203 |
63602 |
0 |
204 |
63603 |
0 |
205 |
63604 |
0 |
206 |
63605 |
0 |
207 |