{
"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 (3715,3716,3717,3718,3719,3720,3721,3722,3723,3724,3725,3726,3727,3728,3729,3730,3731,3732,3733,3734,3735,3737,3738,3740,3741,3742,3743,3747,3748,3749))",
"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 |
---|---|
3715 | 24.000000 |
3716 | 26.000000 |
3717 | 26.000000 |
3718 | 26.000000 |
3719 | 11.000000 |
3720 | 11.000000 |
3721 | 12.000000 |
3722 | 24.000000 |
3723 | 11.000000 |
3724 | 12.000000 |
3725 | 19.000000 |
3726 | 22.000000 |
3727 | 26.000000 |
3728 | 36.000000 |
3729 | 49.000000 |
3730 | 51.000000 |
3731 | 44.000000 |
3732 | 39.000000 |
3733 | 14.000000 |
3734 | 16.000000 |
3735 | 16.000000 |
3737 | 31.000000 |
3738 | 49.000000 |
3740 | 31.000000 |
3741 | 31.000000 |
3742 | 31.000000 |
3743 | 31.000000 |
3747 | 12.000000 |
3748 | 9.000000 |
3749 | 11.000000 |