{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "56.07"
},
"grouping_operation": {
"using_filesort": false,
"table": {
"table_name": "cscart_product_prices",
"access_type": "range",
"possible_keys": [
"usergroup",
"product_id",
"lower_limit",
"usergroup_id"
],
"key": "usergroup",
"used_key_parts": [
"product_id",
"usergroup_id",
"lower_limit"
],
"key_length": "9",
"rows_examined_per_scan": 40,
"rows_produced_per_join": 40,
"filtered": "100.00",
"cost_info": {
"read_cost": "48.07",
"eval_cost": "8.00",
"prefix_cost": "56.07",
"data_read_per_join": "2K"
},
"used_columns": [
"product_id",
"price",
"percentage_discount",
"lower_limit",
"usergroup_id"
],
"attached_condition": "((`webmarco`.`cscart_product_prices`.`lower_limit` = 1) and (`webmarco`.`cscart_product_prices`.`product_id` in (392253,392254,392255,392252,392243,392244,392245,392246,392247,392248,392249,392250,392251,392242,392234,392235,392236,392237,392238,392239)) and (`webmarco`.`cscart_product_prices`.`usergroup_id` in (0,1)))"
}
}
}
}
product_id | price |
---|---|
392234 | 100.00000000 |
392235 | 100.00000000 |
392236 | 100.00000000 |
392237 | 100.00000000 |
392238 | 100.00000000 |
392239 | 100.00000000 |
392242 | 20.00000000 |
392243 | 20.00000000 |
392244 | 20.00000000 |
392245 | 20.00000000 |
392246 | 20.00000000 |
392247 | 20.00000000 |
392248 | 20.00000000 |
392249 | 20.00000000 |
392250 | 20.00000000 |
392251 | 0.00000000 |
392252 | 30.00000000 |
392253 | 30.00000000 |
392254 | 30.00000000 |
392255 | 30.00000000 |