{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "76.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": 32,
"rows_produced_per_join": 6,
"filtered": "19.99",
"index_condition": "(`portal`.`q_product_prices`.`product_id` in (32785,32786,32787,32788,32789,32790,32791,32792,32793,32794,32795,32796,32797,32798,32799,32800,32801,32802,32803,32804,32805,32806,32807,32808,32809,32810,32811,32812,32813,32814,32815,32816))",
"cost_info": {
"read_cost": "75.53",
"eval_cost": "1.28",
"prefix_cost": "76.81",
"data_read_per_join": "153"
},
"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 |
---|---|
32785 | 207.000000 |
32786 | 311.000000 |
32787 | 311.000000 |
32788 | 311.000000 |
32789 | 207.000000 |
32790 | 207.000000 |
32791 | 207.000000 |
32792 | 207.000000 |
32793 | 207.000000 |
32794 | 207.000000 |
32795 | 207.000000 |
32796 | 207.000000 |
32797 | 311.000000 |
32798 | 311.000000 |
32799 | 311.000000 |
32800 | 276.000000 |
32801 | 276.000000 |
32802 | 276.000000 |
32803 | 276.000000 |
32804 | 276.000000 |
32805 | 276.000000 |
32806 | 276.000000 |
32807 | 276.000000 |
32808 | 276.000000 |
32809 | 276.000000 |
32810 | 276.000000 |
32811 | 190.000000 |
32812 | 190.000000 |
32813 | 190.000000 |
32814 | 190.000000 |
32815 | 207.000000 |
32816 | 207.000000 |