{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "45.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": 21,
"rows_produced_per_join": 4,
"filtered": "19.99",
"index_condition": "(`portal`.`q_product_prices`.`product_id` in (9501,9502,9503,9504,9505,9506,9507,9508,9509,9510,9511,9512,9513,9514,9515,9516))",
"cost_info": {
"read_cost": "44.57",
"eval_cost": "0.84",
"prefix_cost": "45.41",
"data_read_per_join": "100"
},
"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 |
---|---|
9501 | 99.000000 |
9502 | 105.000000 |
9503 | 105.000000 |
9504 | 185.000000 |
9505 | 185.000000 |
9506 | 185.000000 |
9507 | 185.000000 |
9508 | 185.000000 |
9509 | 189.000000 |
9510 | 189.000000 |
9511 | 189.000000 |
9512 | 189.000000 |
9513 | 149.000000 |
9514 | 129.000000 |
9515 | 129.000000 |
9516 | 179.000000 |