{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "62.21"
},
"grouping_operation": {
"using_filesort": false,
"table": {
"table_name": "q_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": 33,
"rows_produced_per_join": 6,
"filtered": "19.99",
"index_condition": "(`portal`.`q_product_prices`.`product_id` in (37080,37081,37082,37083,37084,37088,37089,37090,37091,37092,37093,37094,37095,37096,37097,37098))",
"cost_info": {
"read_cost": "60.89",
"eval_cost": "1.32",
"prefix_cost": "62.21",
"data_read_per_join": "158"
},
"used_columns": [
"product_id",
"price",
"percentage_discount",
"lower_limit",
"usergroup_id"
],
"attached_condition": "((`portal`.`q_product_prices`.`lower_limit` = 1) and (`portal`.`q_product_prices`.`usergroup_id` in (0,1)))"
}
}
}
}
product_id | price |
---|---|
37080 | 319.000000 |
37081 | 239.000000 |
37082 | 549.000000 |
37083 | 529.000000 |
37084 | 729.000000 |
37088 | 69.000000 |
37089 | 69.000000 |
37090 | 69.000000 |
37091 | 169.000000 |
37092 | 219.000000 |
37093 | 219.000000 |
37094 | 219.000000 |
37095 | 229.000000 |
37096 | 69.000000 |
37097 | 119.000000 |
37098 | 129.000000 |