{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "58.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 (47884,47885,47886,47887,47888,47889,47890,47894,46652,46651,46650,44984,44985,44986,44987,44988))",
"cost_info": {
"read_cost": "56.81",
"eval_cost": "1.20",
"prefix_cost": "58.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 |
---|---|
44984 | 62.000000 |
44985 | 52.000000 |
44986 | 56.000000 |
44987 | 44.000000 |
44988 | 111.000000 |
46650 | 18.000000 |
46651 | 18.000000 |
46652 | 18.000000 |
47884 | 11.000000 |
47885 | 9.000000 |
47886 | 16.000000 |
47887 | 12.000000 |
47888 | 19.000000 |
47889 | 11.000000 |
47890 | 26.000000 |
47894 | 31.000000 |