Mine
public text v1 · immutableSELECT domains.domain, a.amount
FROM domains
INNER JOIN bids a
ON domains.id = a.domain
Where bids.amount in
(select top 1 b.amount from bids b where b.amount = a.amount order by amount desc)
ORDER BY amount DESCSELECT domains.domain, a.amount
FROM domains
INNER JOIN bids a
ON domains.id = a.domain
Where bids.amount in
(select top 1 b.amount from bids b where b.amount = a.amount order by amount desc)
ORDER BY amount DESC