{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "78.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": 33,
"rows_produced_per_join": 6,
"filtered": "19.99",
"index_condition": "(`portal`.`q_product_prices`.`product_id` in (32622,32623,32624,32625,32626,32627,32628,32629,32630,32631,32632,32633,32634,32635,32636,32637,32638,32639,32640,32641,32642,32643,32644,32645,32646,32647,32648,32649,32650,32651,32652,32653))",
"cost_info": {
"read_cost": "76.89",
"eval_cost": "1.32",
"prefix_cost": "78.21",
"data_read_per_join": "158"
},
"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 |
---|---|
32622 | 190.000000 |
32623 | 163.000000 |
32624 | 163.000000 |
32625 | 163.000000 |
32626 | 163.000000 |
32627 | 163.000000 |
32628 | 163.000000 |
32629 | 163.000000 |
32630 | 163.000000 |
32631 | 163.000000 |
32632 | 163.000000 |
32633 | 163.000000 |
32634 | 163.000000 |
32635 | 190.000000 |
32636 | 190.000000 |
32637 | 190.000000 |
32638 | 190.000000 |
32639 | 190.000000 |
32640 | 190.000000 |
32641 | 190.000000 |
32642 | 190.000000 |
32643 | 190.000000 |
32644 | 190.000000 |
32645 | 190.000000 |
32646 | 190.000000 |
32647 | 190.000000 |
32648 | 190.000000 |
32649 | 190.000000 |
32650 | 155.000000 |
32651 | 155.000000 |
32652 | 155.000000 |
32653 | 155.000000 |