{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "59.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 (9219,9220,9221,9222,9223,9224,9225,9226,9227,9228,9229,9230,9231,9232,9233,9234))",
"cost_info": {
"read_cost": "58.17",
"eval_cost": "1.24",
"prefix_cost": "59.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 |
---|---|
9219 | 209.000000 |
9220 | 189.000000 |
9221 | 85.000000 |
9222 | 145.000000 |
9223 | 145.000000 |
9224 | 129.000000 |
9225 | 149.000000 |
9226 | 149.000000 |
9227 | 159.000000 |
9228 | 159.000000 |
9229 | 159.000000 |
9230 | 209.000000 |
9231 | 209.000000 |
9232 | 209.000000 |
9233 | 65.000000 |
9234 | 159.000000 |