Find out position from all bidders of an auction taking only latest submit of the vendor using mysql
We have a table bids(id,auction_id, vendor_id,bid_price,created_at) where one vendor will have multiple bids but we take the latest using the created_at column We need to find the position of the vendor from the bids of all vendors where his position…