{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "84.20"
},
"grouping_operation": {
"using_temporary_table": true,
"using_filesort": true,
"table": {
"table_name": "cscart_product_prices",
"access_type": "ref",
"possible_keys": [
"usergroup",
"product_id",
"lower_limit",
"usergroup_id"
],
"key": "lower_limit",
"used_key_parts": [
"lower_limit"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 376,
"rows_produced_per_join": 7,
"filtered": "1.98",
"index_condition": "(`pankajecarter_systemfour`.`cscart_product_prices`.`lower_limit` <=> 1)",
"cost_info": {
"read_cost": "9.00",
"eval_cost": "1.49",
"prefix_cost": "84.20",
"data_read_per_join": "179"
},
"used_columns": [
"product_id",
"price",
"percentage_discount",
"lower_limit",
"usergroup_id"
],
"attached_condition": "((`pankajecarter_systemfour`.`cscart_product_prices`.`product_id` in (213,215,217,218,220,222,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,242,243,78,79,80,81,82,83,84,85)) and (`pankajecarter_systemfour`.`cscart_product_prices`.`usergroup_id` in (0,1)))"
}
}
}
}
| product_id | price |
|---|---|
| 78 | 100.00000000 |
| 79 | 96.00000000 |
| 80 | 55.00000000 |
| 81 | 49.50000000 |
| 82 | 19.99000000 |
| 83 | 19.99000000 |
| 84 | 19.99000000 |
| 85 | 19.99000000 |
| 213 | 295.00000000 |
| 215 | 1095.00000000 |
| 217 | 610.99000000 |
| 218 | 459.99000000 |
| 220 | 1099.99000000 |
| 222 | 529.99000000 |
| 224 | 479.99000000 |
| 225 | 199.99000000 |
| 226 | 269.99000000 |
| 227 | 699.00000000 |
| 228 | 349.99000000 |
| 229 | 299.99000000 |
| 230 | 125.00000000 |
| 231 | 99.00000000 |
| 232 | 79.95000000 |
| 233 | 47.99000000 |
| 234 | 59.99000000 |
| 235 | 79.99000000 |
| 236 | 299.99000000 |
| 237 | 299.99000000 |
| 238 | 499.99000000 |
| 239 | 509.99000000 |
| 242 | 249.00000000 |
| 243 | 249.00000000 |