{
"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 (2612,2613,2614,2615,2616,2617,2618,2619,2620,2621,2622,2623,2624,2625,2626,2627,2628,2629,2630,2631,2632,2633,2634,2635,2636,2637,2638,2640,2641,2642))",
"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 |
---|---|
2612 | 199.000000 |
2613 | 169.000000 |
2614 | 175.000000 |
2615 | 235.000000 |
2616 | 139.000000 |
2617 | 145.000000 |
2618 | 75.000000 |
2619 | 165.000000 |
2620 | 245.000000 |
2621 | 149.000000 |
2622 | 275.000000 |
2623 | 225.000000 |
2624 | 225.000000 |
2625 | 159.000000 |
2626 | 135.000000 |
2627 | 169.000000 |
2628 | 225.000000 |
2629 | 285.000000 |
2630 | 265.000000 |
2631 | 155.000000 |
2632 | 209.000000 |
2633 | 175.000000 |
2634 | 139.000000 |
2635 | 195.000000 |
2636 | 129.000000 |
2637 | 225.000000 |
2638 | 289.000000 |
2640 | 165.000000 |
2641 | 199.000000 |
2642 | 325.000000 |