Query editor
selectcount(*) as unique_holders,avg(sell_but_ratio) as avg_sell_but_ratio,avg(pnl) as avg_pnl,cast(count(distinct (case when comment = 'sold more than bought' then wallet end)) as real)/cast(count(*) as real)*100 as smtb_share,cast(count(distinct (case when comment = 'only bought' then wallet end)) as real)/ cast(count(*) as real)*100 as ob_share,cast(count(distinct (case when comment = 'only sold' then wallet end)) as real)/cast(count(*) as real)*100 as os_sharefrom query_4520258