{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "19.81"
},
"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": 12,
"rows_produced_per_join": 12,
"filtered": "100.00",
"index_condition": "(`jmj_test`.`jmj_categories`.`parent_id` in (89,90,91))",
"cost_info": {
"read_cost": "17.41",
"eval_cost": "2.40",
"prefix_cost": "19.81",
"data_read_per_join": "46K"
},
"used_columns": [
"category_id",
"parent_id"
],
"attached_condition": "(`jmj_test`.`jmj_categories`.`category_id` <> 1)"
}
}
}
| category_id | parent_id |
|---|---|
| 92 | 89 |
| 93 | 89 |
| 94 | 89 |
| 95 | 89 |
| 96 | 89 |
| 97 | 90 |
| 98 | 90 |
| 99 | 90 |
| 100 | 91 |
| 101 | 91 |
| 102 | 91 |
| 103 | 91 |