{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "69.41"
},
"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": 31,
"rows_produced_per_join": 6,
"filtered": "19.99",
"index_condition": "(`portal`.`q_product_prices`.`product_id` in (41339,29354,29395,29396,30848,30922,31133,13615,13626,13652,10455,10456,1519,1520,1521,1524,1525,1526,1527,1143,1142,1141,1140,1139,1138,1137))",
"cost_info": {
"read_cost": "68.17",
"eval_cost": "1.24",
"prefix_cost": "69.41",
"data_read_per_join": "148"
},
"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 |
---|---|
1137 | 39.000000 |
1138 | 44.000000 |
1139 | 44.000000 |
1140 | 39.000000 |
1141 | 44.000000 |
1142 | 39.000000 |
1143 | 39.000000 |
1519 | 25.000000 |
1520 | 25.000000 |
1521 | 25.000000 |
1524 | 25.000000 |
1525 | 25.000000 |
1526 | 25.000000 |
1527 | 25.000000 |
10455 | 69.000000 |
10456 | 99.000000 |
13615 | 71.000000 |
13626 | 29.000000 |
13652 | 54.000000 |
29354 | 206.000000 |
29395 | 50.000000 |
29396 | 61.000000 |
30848 | 90.000000 |
30922 | 206.000000 |
31133 | 206.000000 |
41339 | 75.000000 |