{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "78.21"
},
"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": 33,
"rows_produced_per_join": 6,
"filtered": "19.99",
"index_condition": "(`portal`.`q_product_prices`.`product_id` in (32721,32722,32723,32724,32725,32726,32727,32728,32729,32730,32731,32732,32733,32734,32735,32736,32737,32738,32739,32740,32741,32742,32743,32744,32745,32746,32747,32748,32749,32750,32751,32752))",
"cost_info": {
"read_cost": "76.89",
"eval_cost": "1.32",
"prefix_cost": "78.21",
"data_read_per_join": "158"
},
"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 |
---|---|
32721 | 112.000000 |
32722 | 86.000000 |
32723 | 86.000000 |
32724 | 86.000000 |
32725 | 86.000000 |
32726 | 86.000000 |
32727 | 86.000000 |
32728 | 121.000000 |
32729 | 121.000000 |
32730 | 121.000000 |
32731 | 121.000000 |
32732 | 121.000000 |
32733 | 121.000000 |
32734 | 121.000000 |
32735 | 121.000000 |
32736 | 121.000000 |
32737 | 121.000000 |
32738 | 121.000000 |
32739 | 121.000000 |
32740 | 121.000000 |
32741 | 190.000000 |
32742 | 190.000000 |
32743 | 190.000000 |
32744 | 190.000000 |
32745 | 190.000000 |
32746 | 190.000000 |
32747 | 190.000000 |
32748 | 190.000000 |
32749 | 190.000000 |
32750 | 190.000000 |
32751 | 311.000000 |
32752 | 311.000000 |