{
"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 (3672,3673,3674,3676,3677,3678,3679,3680,3681,3682,3683,3684,3685,3686,3687,3688,3689,3690,3691,3692,3693,3694,3695,3696,3697,3698,3699,3700,3701,3702))",
"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 |
---|---|
3672 | 26.000000 |
3673 | 22.000000 |
3674 | 29.000000 |
3676 | 24.000000 |
3677 | 24.000000 |
3678 | 16.000000 |
3679 | 24.000000 |
3680 | 19.000000 |
3681 | 19.000000 |
3682 | 24.000000 |
3683 | 32.000000 |
3684 | 31.000000 |
3685 | 41.000000 |
3686 | 31.000000 |
3687 | 44.000000 |
3688 | 42.000000 |
3689 | 46.000000 |
3690 | 49.000000 |
3691 | 61.000000 |
3692 | 14.000000 |
3693 | 16.000000 |
3694 | 16.000000 |
3695 | 86.000000 |
3696 | 9.000000 |
3697 | 14.000000 |
3698 | 11.000000 |
3699 | 14.000000 |
3700 | 16.000000 |
3701 | 16.000000 |
3702 | 21.000000 |