{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "cscart_product_prices.product_id",
"temporary_table": {
"table": {
"table_name": "cscart_product_prices",
"access_type": "ref",
"possible_keys": [
"usergroup",
"product_id",
"lower_limit",
"usergroup_id"
],
"key": "lower_limit",
"key_length": "3",
"used_key_parts": ["lower_limit"],
"ref": ["const"],
"rowid_filter": {
"range": {
"key": "product_id",
"used_key_parts": ["product_id"]
},
"rows": 38,
"selectivity_pct": 15.01976285
},
"rows": 234,
"filtered": 5.699198723,
"attached_condition": "cscart_product_prices.lower_limit <=> 1 and cscart_product_prices.product_id in (229,230,231,232,233,234,235,236,237,238,239,242,243,78,79,80,81,82,83,84,85,86,87,88) and cscart_product_prices.usergroup_id in (0,1)"
}
}
}
}
}
| product_id | price |
|---|---|
| 78 | 12000.000000 |
| 79 | 11520.000000 |
| 80 | 6600.000000 |
| 81 | 6000.000000 |
| 82 | 2400.000000 |
| 83 | 2400.000000 |
| 84 | 2400.000000 |
| 85 | 2400.000000 |
| 86 | 43080.000000 |
| 87 | 2400.000000 |
| 88 | 4800.000000 |
| 229 | 36000.000000 |
| 230 | 15000.000000 |
| 231 | 11880.000000 |
| 232 | 9600.000000 |
| 233 | 5760.000000 |
| 234 | 7200.000000 |
| 235 | 9600.000000 |
| 236 | 36000.000000 |
| 237 | 36000.000000 |
| 238 | 66240.000000 |
| 239 | 66240.000000 |
| 242 | 29880.000000 |
| 243 | 29880.000000 |