{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "18.34"
},
"grouping_operation": {
"using_filesort": false,
"table": {
"table_name": "product_prices",
"access_type": "range",
"possible_keys": [
"usergroup",
"product_id",
"lower_limit",
"usergroup_id"
],
"key": "product_id",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"rows_examined_per_scan": 24,
"rows_produced_per_join": 2,
"filtered": "10.00",
"index_condition": "(`goimagine`.`product_prices`.`product_id` in (420866,421406,421410,422698,422708,422755,422757,423484,423498,424019,424022,424034,424035,424044,424045,424802,424804,424818,424834,425367,425372,425383,426124,426133))",
"cost_info": {
"read_cost": "18.10",
"eval_cost": "0.24",
"prefix_cost": "18.34",
"data_read_per_join": "57"
},
"used_columns": [
"id",
"product_id",
"price",
"percentage_discount",
"lower_limit",
"usergroup_id"
],
"attached_condition": "((`goimagine`.`product_prices`.`lower_limit` = 1) and (`goimagine`.`product_prices`.`usergroup_id` in (0,1)))"
}
}
}
}
| product_id | price |
|---|---|
| 420866 | 18.00000000 |
| 421406 | 2.45000000 |
| 421410 | 18.00000000 |
| 422698 | 18.00000000 |
| 422708 | 18.00000000 |
| 422755 | 18.00000000 |
| 422757 | 18.00000000 |
| 423484 | 18.00000000 |
| 423498 | 18.00000000 |
| 424019 | 21.00000000 |
| 424022 | 2.45000000 |
| 424034 | 2.45000000 |
| 424035 | 18.00000000 |
| 424044 | 18.00000000 |
| 424045 | 15.00000000 |
| 424802 | 18.00000000 |
| 424804 | 18.00000000 |
| 424818 | 18.00000000 |
| 424834 | 3.55000000 |
| 425367 | 3.55000000 |
| 425372 | 20.00000000 |
| 425383 | 2.45000000 |
| 426124 | 18.00000000 |
| 426133 | 18.00000000 |