Query editor
with pre as (select buyer, count(*) as n, sum(final_bid) as s from query_4524261 where buyer is not null group by buyer)select CONCAT('<a href=https://sealed.art/', CAST(buyer AS VARCHAR),' target=_blank>',CAST(buyer AS VARCHAR),'</a>') as buyer, s as "total spent",n as "number of auction won" from pre order by s desc