{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "72.01"
},
"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": 30,
"rows_produced_per_join": 5,
"filtered": "19.99",
"index_condition": "(`portal`.`q_product_prices`.`product_id` in (648,649,650,651,652,635,587,588,589,590,591,592,593,594,595,596,597,598,599,600,601,602,603,604,605,606,607,608,609,610))",
"cost_info": {
"read_cost": "70.81",
"eval_cost": "1.20",
"prefix_cost": "72.01",
"data_read_per_join": "143"
},
"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 |
---|---|
587 | 115.000000 |
588 | 99.000000 |
589 | 129.000000 |
590 | 169.000000 |
591 | 145.000000 |
592 | 149.000000 |
593 | 149.000000 |
594 | 79.000000 |
595 | 99.000000 |
596 | 129.000000 |
597 | 145.000000 |
598 | 139.000000 |
599 | 99.000000 |
600 | 135.000000 |
601 | 89.000000 |
602 | 105.000000 |
603 | 139.000000 |
604 | 135.000000 |
605 | 129.000000 |
606 | 129.000000 |
607 | 109.000000 |
608 | 199.000000 |
609 | 139.000000 |
610 | 79.000000 |
635 | 95.000000 |
648 | 85.000000 |
649 | 99.000000 |
650 | 159.000000 |
651 | 109.000000 |
652 | 145.000000 |