{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "8.74"
},
"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": 11,
"rows_produced_per_join": 1,
"filtered": "10.00",
"index_condition": "(`goimagine`.`product_prices`.`product_id` in (280726,280376,280837,281107,281106,287392,287394,289467,281088,288594,287393))",
"cost_info": {
"read_cost": "8.63",
"eval_cost": "0.11",
"prefix_cost": "8.74",
"data_read_per_join": "26"
},
"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 |
|---|---|
| 280376 | 79.99000000 |
| 280726 | 8.99000000 |
| 280837 | 79.99000000 |
| 281088 | 84.99000000 |
| 281106 | 24.99000000 |
| 281107 | 21.99000000 |
| 287392 | 39.99000000 |
| 287393 | 34.99000000 |
| 287394 | 39.99000000 |
| 288594 | 39.99000000 |
| 289467 | 69.99000000 |