{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "46.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": 20,
"rows_produced_per_join": 3,
"filtered": "19.99",
"index_condition": "(`portal`.`q_product_prices`.`product_id` in (18673,18681,15384,15385,15387,15388,15389,15391,15392,15393,15394,15395,15396,15397,15398,15400,15401,15403))",
"cost_info": {
"read_cost": "45.21",
"eval_cost": "0.80",
"prefix_cost": "46.01",
"data_read_per_join": "95"
},
"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 |
---|---|
15384 | 59.000000 |
15385 | 52.000000 |
15387 | 66.000000 |
15388 | 79.000000 |
15389 | 61.000000 |
15391 | 192.000000 |
15392 | 39.000000 |
15393 | 82.000000 |
15394 | 186.000000 |
15395 | 126.000000 |
15396 | 51.000000 |
15397 | 179.000000 |
15398 | 62.000000 |
15400 | 539.000000 |
15401 | 59.000000 |
15403 | 49.000000 |
18673 | 129.000000 |
18681 | 126.000000 |