{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "80.41"
},
"grouping_operation": {
"using_filesort": false,
"table": {
"table_name": "q_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": 36,
"rows_produced_per_join": 7,
"filtered": "19.99",
"index_condition": "(`portal`.`q_product_prices`.`product_id` in (41248,41249,41250,41251,41252,41253,41254,41255,41256,41257,41258,41259,41260,41261,41262,41263,41264,41265,41266,41267,41268,41269,41270,41271,41272,41273,41274,41275,41276,41277))",
"cost_info": {
"read_cost": "78.97",
"eval_cost": "1.44",
"prefix_cost": "80.41",
"data_read_per_join": "172"
},
"used_columns": [
"product_id",
"price",
"percentage_discount",
"lower_limit",
"usergroup_id"
],
"attached_condition": "((`portal`.`q_product_prices`.`lower_limit` = 1) and (`portal`.`q_product_prices`.`usergroup_id` in (0,1)))"
}
}
}
}
product_id | price |
---|---|
41248 | 115.000000 |
41249 | 115.000000 |
41250 | 62.000000 |
41251 | 62.000000 |
41252 | 62.000000 |
41253 | 62.000000 |
41254 | 75.000000 |
41255 | 75.000000 |
41256 | 75.000000 |
41257 | 75.000000 |
41258 | 62.000000 |
41259 | 62.000000 |
41260 | 62.000000 |
41261 | 75.000000 |
41262 | 75.000000 |
41263 | 75.000000 |
41264 | 89.000000 |
41265 | 89.000000 |
41266 | 89.000000 |
41267 | 99.000000 |
41268 | 99.000000 |
41269 | 99.000000 |
41270 | 99.000000 |
41271 | 89.000000 |
41272 | 89.000000 |
41273 | 89.000000 |
41274 | 89.000000 |
41275 | 89.000000 |
41276 | 89.000000 |
41277 | 75.000000 |