{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "132.81"
},
"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": 72,
"rows_produced_per_join": 14,
"filtered": "19.99",
"index_condition": "(`portal`.`q_product_prices`.`product_id` in (32849,32850,32851,32852,32853,32854,32855,32856,32857,32858,32859,32860,32861,32862,32863,32864,32865,32866,32867,32868,32869,32870,32871,32872,32873,32874,32875,32876,32877,32878,32879,32880))",
"cost_info": {
"read_cost": "129.93",
"eval_cost": "2.88",
"prefix_cost": "132.81",
"data_read_per_join": "345"
},
"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 |
---|---|
32849 | 293.000000 |
32850 | 293.000000 |
32851 | 293.000000 |
32852 | 293.000000 |
32853 | 207.000000 |
32854 | 207.000000 |
32855 | 207.000000 |
32856 | 207.000000 |
32857 | 207.000000 |
32858 | 207.000000 |
32859 | 207.000000 |
32860 | 224.000000 |
32861 | 224.000000 |
32862 | 224.000000 |
32863 | 224.000000 |
32864 | 224.000000 |
32865 | 207.000000 |
32866 | 207.000000 |
32867 | 207.000000 |
32868 | 207.000000 |
32869 | 207.000000 |
32870 | 207.000000 |
32871 | 251.000000 |
32872 | 251.000000 |
32873 | 251.000000 |
32874 | 251.000000 |
32875 | 251.000000 |
32876 | 163.000000 |
32877 | 163.000000 |
32878 | 163.000000 |
32879 | 163.000000 |
32880 | 163.000000 |