{
"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": 36,
"selectivity_pct": 14.22924901
},
"rows": 234,
"filtered": 6.299114227,
"attached_condition": "cscart_product_prices.lower_limit <=> 1 and cscart_product_prices.product_id in (240,241,214,217,218,206,207,205,208,229,211,210,209,215,226,213,228,247,227,225,224,223,219,222,220,221,244,212) and cscart_product_prices.usergroup_id in (0,1)"
}
}
}
}
}
| product_id | price |
|---|---|
| 205 | 18000.000000 |
| 206 | 21600.000000 |
| 207 | 5040.000000 |
| 208 | 9960.000000 |
| 209 | 13200.000000 |
| 210 | 10800.000000 |
| 211 | 36000.000000 |
| 212 | 15600.000000 |
| 213 | 35400.000000 |
| 214 | 116640.000000 |
| 215 | 131400.000000 |
| 217 | 73320.000000 |
| 218 | 55200.000000 |
| 219 | 63600.000000 |
| 220 | 132000.000000 |
| 221 | 245880.000000 |
| 222 | 63600.000000 |
| 223 | 60000.000000 |
| 224 | 57600.000000 |
| 225 | 24000.000000 |
| 226 | 32400.000000 |
| 227 | 83880.000000 |
| 228 | 42000.000000 |
| 229 | 36000.000000 |
| 240 | 59880.000000 |
| 241 | 59880.000000 |
| 244 | 87600.000000 |
| 247 | 39540.000000 |