{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "99.99"
},
"grouping_operation": {
"using_filesort": false,
"table": {
"table_name": "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": 96,
"rows_produced_per_join": 9,
"filtered": "10.00",
"index_condition": "(`goimagine`.`product_prices`.`product_id` in (283106,283123,283129,289266,291486,306655,282371,282946,282977,282989,283048,283058,283139,289286,289289,289300,282362,282379,282895,282912,282922,282959,283047,283086,291454,282370,282934,282944,282951,282964,283003,283005,283019,283031,283071,283075,283135,283137,283154,289293,291446,291500,282353,282366,282369,282916,282937,282950,282962,282978,283028,283045,283073,283078,283104,283110,283127,283153,289261,282372,282906,282945,282970,282986,283059,283112,283147,283155,289215,289284,291448,291481,282896,282919,283027,283092,283102,283133,291461,291496,306662,282355,282374,282902,282967,282995,282996,283036,283130,289269,291447,291489,282367,282894,282981,283008))",
"cost_info": {
"read_cost": "99.03",
"eval_cost": "0.96",
"prefix_cost": "99.99",
"data_read_per_join": "230"
},
"used_columns": [
"id",
"product_id",
"price",
"percentage_discount",
"lower_limit",
"usergroup_id"
],
"attached_condition": "((`goimagine`.`product_prices`.`lower_limit` = 1) and (`goimagine`.`product_prices`.`usergroup_id` in (0,1)))"
}
}
}
}
| product_id | price |
|---|---|
| 282353 | 4.00000000 |
| 282355 | 3.00000000 |
| 282362 | 4.00000000 |
| 282366 | 4.00000000 |
| 282367 | 4.00000000 |
| 282369 | 4.00000000 |
| 282370 | 4.00000000 |
| 282371 | 4.00000000 |
| 282372 | 4.00000000 |
| 282374 | 4.00000000 |
| 282379 | 4.00000000 |
| 282894 | 4.00000000 |
| 282895 | 4.00000000 |
| 282896 | 4.00000000 |
| 282902 | 4.00000000 |
| 282906 | 4.00000000 |
| 282912 | 4.00000000 |
| 282916 | 4.00000000 |
| 282919 | 4.00000000 |
| 282922 | 4.00000000 |
| 282934 | 4.00000000 |
| 282937 | 4.00000000 |
| 282944 | 4.00000000 |
| 282945 | 4.00000000 |
| 282946 | 4.00000000 |
| 282950 | 4.00000000 |
| 282951 | 4.00000000 |
| 282959 | 4.00000000 |
| 282962 | 4.00000000 |
| 282964 | 4.00000000 |
| 282967 | 4.00000000 |
| 282970 | 4.00000000 |
| 282977 | 4.00000000 |
| 282978 | 4.00000000 |
| 282981 | 4.00000000 |
| 282986 | 4.00000000 |
| 282989 | 4.00000000 |
| 282995 | 4.00000000 |
| 282996 | 4.00000000 |
| 283003 | 4.00000000 |
| 283005 | 4.00000000 |
| 283008 | 4.00000000 |
| 283019 | 4.00000000 |
| 283027 | 4.00000000 |
| 283028 | 4.00000000 |
| 283031 | 4.00000000 |
| 283036 | 4.00000000 |
| 283045 | 4.00000000 |
| 283047 | 4.00000000 |
| 283048 | 4.00000000 |
| 283058 | 4.00000000 |
| 283059 | 4.00000000 |
| 283071 | 4.00000000 |
| 283073 | 4.00000000 |
| 283075 | 4.00000000 |
| 283078 | 4.00000000 |
| 283086 | 4.00000000 |
| 283092 | 4.00000000 |
| 283102 | 4.00000000 |
| 283104 | 4.00000000 |
| 283106 | 4.00000000 |
| 283110 | 4.00000000 |
| 283112 | 4.00000000 |
| 283123 | 4.00000000 |
| 283127 | 4.00000000 |
| 283129 | 4.00000000 |
| 283130 | 4.00000000 |
| 283133 | 4.00000000 |
| 283135 | 4.00000000 |
| 283137 | 4.00000000 |
| 283139 | 4.00000000 |
| 283147 | 0.00000000 |
| 283153 | 4.00000000 |
| 283154 | 4.00000000 |
| 283155 | 4.00000000 |
| 289215 | 4.00000000 |
| 289261 | 4.00000000 |
| 289266 | 4.00000000 |
| 289269 | 4.00000000 |
| 289284 | 4.00000000 |
| 289286 | 4.00000000 |
| 289289 | 4.00000000 |
| 289293 | 4.00000000 |
| 289300 | 4.00000000 |
| 291446 | 4.00000000 |
| 291447 | 4.00000000 |
| 291448 | 4.00000000 |
| 291454 | 4.00000000 |
| 291461 | 4.00000000 |
| 291481 | 4.00000000 |
| 291486 | 4.00000000 |
| 291489 | 4.00000000 |
| 291496 | 4.00000000 |
| 291500 | 4.00000000 |
| 306655 | 4.00000000 |
| 306662 | 4.00000000 |