{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "14.21"
},
"table": {
"table_name": "jmj_categories",
"access_type": "range",
"possible_keys": [
"PRIMARY",
"parent",
"p_category_id"
],
"key": "parent",
"used_key_parts": [
"parent_id"
],
"key_length": "3",
"rows_examined_per_scan": 8,
"rows_produced_per_join": 8,
"filtered": "100.00",
"index_condition": "(`jmj_test`.`jmj_categories`.`parent_id` in (20,19,3))",
"cost_info": {
"read_cost": "12.61",
"eval_cost": "1.60",
"prefix_cost": "14.21",
"data_read_per_join": "31K"
},
"used_columns": [
"category_id",
"parent_id"
],
"attached_condition": "(`jmj_test`.`jmj_categories`.`category_id` <> 1)"
}
}
}
| category_id | parent_id |
|---|---|
| 8 | 3 |
| 19 | 3 |
| 25 | 3 |
| 20 | 19 |
| 21 | 19 |
| 22 | 19 |
| 23 | 19 |
| 24 | 19 |