Query editor
-- RANK() OVER ( ORDER BY h.balance DESC ) AS rankwith claim as (selectevt_block_time as time,to as participantsfrom erc1155_abstract.evt_transfersinglewherecontract_address = 0x458422e93bf89a109afc4fac00aacf2f18fcf541and id = 1and "from" = 0x0000000000000000000000000000000000000000),firstsold as (selectsellers,usdcfrom query_4653789where rank = 1)selectc.time,c.participants,casewhen f.usdc is not null then 'sold'else 'hold'end as action,casewhen f.usdc is not null then f.usdcelse nullend as sold_price,casewhen f.usdc is not null then f.usdc/44.44else nullend as profitfrom claim cleft join firstsold fon c.participants = f.sellersorder by 5 desc