{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "79.61"
},
"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": 34,
"rows_produced_per_join": 6,
"filtered": "19.99",
"index_condition": "(`portal`.`q_product_prices`.`product_id` in (33116,33117,33118,33119,33120,33121,33122,33123,33124,33125,33126,33127,33128,33129,33130,33131,33132,33133,33134,33135,33136,33137,33138,33139,33140,33141,33142,33143,33144,33145,33146,33148))",
"cost_info": {
"read_cost": "78.25",
"eval_cost": "1.36",
"prefix_cost": "79.61",
"data_read_per_join": "163"
},
"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 |
---|---|
33116 | 215.000000 |
33117 | 215.000000 |
33118 | 215.000000 |
33119 | 215.000000 |
33120 | 215.000000 |
33121 | 163.000000 |
33122 | 163.000000 |
33123 | 163.000000 |
33124 | 163.000000 |
33125 | 163.000000 |
33126 | 163.000000 |
33127 | 163.000000 |
33128 | 163.000000 |
33129 | 163.000000 |
33130 | 163.000000 |
33131 | 162.000000 |
33132 | 190.000000 |
33133 | 190.000000 |
33134 | 190.000000 |
33135 | 190.000000 |
33136 | 190.000000 |
33137 | 190.000000 |
33138 | 190.000000 |
33139 | 190.000000 |
33140 | 190.000000 |
33141 | 190.000000 |
33142 | 190.000000 |
33143 | 181.000000 |
33144 | 181.000000 |
33145 | 181.000000 |
33146 | 181.000000 |
33148 | 181.000000 |