{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "72.01"
},
"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": 30,
"rows_produced_per_join": 5,
"filtered": "19.99",
"index_condition": "(`portal`.`q_product_prices`.`product_id` in (16250,16253,16257,16259,16260,16263,16266,16267,16268,16269,16270,16271,16274,16275,16295,16296,16299,16300,16302,16303,16304,16305,16306,16310,16311,16312,16313,16314,16315,16316))",
"cost_info": {
"read_cost": "70.81",
"eval_cost": "1.20",
"prefix_cost": "72.01",
"data_read_per_join": "143"
},
"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 |
---|---|
16250 | 121.000000 |
16253 | 39.000000 |
16257 | 51.000000 |
16259 | 219.000000 |
16260 | 119.000000 |
16263 | 84.000000 |
16266 | 151.000000 |
16267 | 46.000000 |
16268 | 61.000000 |
16269 | 39.000000 |
16270 | 59.000000 |
16271 | 99.000000 |
16274 | 62.000000 |
16275 | 116.000000 |
16295 | 44.000000 |
16296 | 116.000000 |
16299 | 142.000000 |
16300 | 59.000000 |
16302 | 109.000000 |
16303 | 94.000000 |
16304 | 61.000000 |
16305 | 106.000000 |
16306 | 54.000000 |
16310 | 76.000000 |
16311 | 834.000000 |
16312 | 156.000000 |
16313 | 61.000000 |
16314 | 99.000000 |
16315 | 54.000000 |
16316 | 46.000000 |