{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "16.81"
},
"grouping_operation": {
"using_filesort": false,
"table": {
"table_name": "cscart_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": 4,
"filtered": "20.00",
"index_condition": "(`gaseus`.`cscart_product_prices`.`product_id` in (249,297,298,299,300,301,302,3525,3526,3527,3528,3529,3530,3531,3940,3941,3942,3943,3944,3945,3946,3985,3986,3987))",
"cost_info": {
"read_cost": "16.33",
"eval_cost": "0.48",
"prefix_cost": "16.81",
"data_read_per_join": "115"
},
"used_columns": [
"product_id",
"price",
"percentage_discount",
"lower_limit",
"usergroup_id"
],
"attached_condition": "((`gaseus`.`cscart_product_prices`.`lower_limit` = 1) and (`gaseus`.`cscart_product_prices`.`usergroup_id` in (0,1)))"
}
}
}
}
| product_id | price |
|---|---|
| 249 | 0.00000000 |
| 297 | 0.00000000 |
| 298 | 0.00000000 |
| 299 | 0.00000000 |
| 300 | 0.00000000 |
| 301 | 0.00000000 |
| 302 | 0.00000000 |
| 3525 | 0.00000000 |
| 3526 | 0.00000000 |
| 3527 | 0.00000000 |
| 3528 | 0.00000000 |
| 3529 | 0.00000000 |
| 3530 | 0.00000000 |
| 3531 | 0.00000000 |
| 3940 | 0.00000000 |
| 3941 | 0.00000000 |
| 3942 | 0.00000000 |
| 3943 | 0.00000000 |
| 3944 | 0.00000000 |
| 3945 | 0.00000000 |
| 3946 | 0.00000000 |
| 3985 | 0.00000000 |
| 3986 | 0.00000000 |
| 3987 | 0.00000000 |