select top 7 item_name, item_reserve, count(bid_id) as bid_count,
max(bid_amount) as highest_bid,
item_reserve / max(bid_amount) * 100 as pct_increase
from vb_items
join vb_bids on item_id=bid_item_id
where item_sold = 0
group by item_name, item_reserve
order by bid_count desc
我想找到从 item_reserve 到最高出价的百分比增加。我认为这或多或少是正确的,但数学并不是我的强项。