{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "78.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 (1559,1560,1561,1562,1563,1564,1565,1566,1567,1568,1569,1570,1571,1572,1573,1574,1577,1578,1579,1580,1581,1582,1583,1584,1585,1586,1587,1588,1589,1590,1591,1592))",
"cost_info": {
"read_cost": "76.89",
"eval_cost": "1.32",
"prefix_cost": "78.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 |
---|---|
1559 | 29.000000 |
1560 | 29.000000 |
1561 | 29.000000 |
1562 | 19.000000 |
1563 | 19.000000 |
1564 | 19.000000 |
1565 | 19.000000 |
1566 | 19.000000 |
1567 | 19.000000 |
1568 | 25.000000 |
1569 | 25.000000 |
1570 | 25.000000 |
1571 | 25.000000 |
1572 | 25.000000 |
1573 | 25.000000 |
1574 | 25.000000 |
1577 | 25.000000 |
1578 | 25.000000 |
1579 | 25.000000 |
1580 | 25.000000 |
1581 | 25.000000 |
1582 | 26.000000 |
1583 | 26.000000 |
1584 | 26.000000 |
1585 | 26.000000 |
1586 | 29.000000 |
1587 | 29.000000 |
1588 | 29.000000 |
1589 | 29.000000 |
1590 | 29.000000 |
1591 | 29.000000 |
1592 | 25.000000 |