Query time 0.00109
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "37.40"
},
"ordering_operation": {
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "f",
"access_type": "ref",
"possible_keys": [
"page_id"
],
"key": "page_id",
"used_key_parts": [
"page_id",
"status"
],
"key_length": "6",
"ref": [
"const",
"const"
],
"rows_examined_per_scan": 16,
"rows_produced_per_join": 16,
"filtered": "100.00",
"index_condition": "((`webmarco`.`f`.`page_id` <=> 207) and (`webmarco`.`f`.`status` <=> 'A'))",
"cost_info": {
"read_cost": "15.00",
"eval_cost": "3.20",
"prefix_cost": "18.20",
"data_read_per_join": "12K"
},
"used_columns": [
"element_id",
"page_id",
"parent_id",
"element_type",
"value",
"position",
"required",
"status"
]
}
},
{
"table": {
"table_name": "d",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"object_id",
"lang_code"
],
"key_length": "9",
"ref": [
"webmarco.f.element_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 16,
"filtered": "100.00",
"cost_info": {
"read_cost": "16.00",
"eval_cost": "3.20",
"prefix_cost": "37.40",
"data_read_per_join": "384"
},
"used_columns": [
"object_id",
"description",
"lang_code"
]
}
}
]
}
}
}
Result
element_id |
page_id |
parent_id |
element_type |
value |
position |
required |
status |
description |
575 |
207 |
0 |
E |
|
0 |
N |
A |
|
576 |
207 |
0 |
K |
|
0 |
N |
A |
|
577 |
207 |
0 |
L |
|
0 |
N |
A |
|
578 |
207 |
0 |
J |
ema_musollari@libero.it |
0 |
N |
A |
ema_musollari@libero.it |
579 |
207 |
573 |
G |
|
0 |
N |
A |
Albanian Language Course |
581 |
207 |
573 |
G |
|
0 |
N |
A |
Spanish Language Course |
582 |
207 |
573 |
G |
|
0 |
N |
A |
German Language Course |
583 |
207 |
573 |
G |
|
0 |
N |
A |
English Language Course |
584 |
207 |
573 |
G |
|
0 |
N |
A |
French Language Course |
585 |
207 |
573 |
G |
|
0 |
N |
A |
Mathematics Course |
586 |
207 |
573 |
G |
|
0 |
N |
A |
Physics Course |
570 |
207 |
0 |
I |
|
10 |
Y |
A |
Name |
571 |
207 |
0 |
Y |
|
20 |
Y |
A |
E-mail |
572 |
207 |
0 |
P |
|
30 |
Y |
A |
Phone Number |
573 |
207 |
0 |
S |
|
40 |
Y |
A |
Courses |
574 |
207 |
0 |
T |
|
50 |
Y |
A |
Message |