{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "31.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": 13,
"rows_produced_per_join": 2,
"filtered": "19.99",
"index_condition": "(`portal`.`q_product_prices`.`product_id` in (875,874,868,853,732,729,728,727,717,716,715,714,711))",
"cost_info": {
"read_cost": "30.69",
"eval_cost": "0.52",
"prefix_cost": "31.21",
"data_read_per_join": "62"
},
"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 |
---|---|
711 | 242.000000 |
714 | 221.000000 |
715 | 276.000000 |
716 | 276.000000 |
717 | 242.000000 |
727 | 254.000000 |
728 | 222.000000 |
729 | 79.000000 |
732 | 169.000000 |
853 | 89.000000 |
868 | 76.000000 |
874 | 134.000000 |
875 | 94.000000 |