Query editor
WITHtransfers AS (SELECTevt_tx_hash AS tx_hash,tr."from" AS address,- cast(tr.value as int256) AS amount,contract_addressFROMerc20_ethereum.evt_Transfer AS trWHEREcontract_address = 0xbc396689893d065f41bc2c6ecbee5e0085233447UNION ALLSELECTevt_tx_hash AS tx_hash,tr."to" AS address,cast(tr.value as int256) AS amount,contract_addressFROMerc20_ethereum.evt_Transfer AS trWHEREcontract_address = 0xbc396689893d065f41bc2c6ecbee5e0085233447),transferAmounts AS (SELECTaddress,SUM(amount) / CAST(1e18 AS DOUBLE) AS poolholdingsFROMtransfersGROUP BY1ORDER BY2 DESC NULLS FIRST)SELECTCOUNT(DISTINCT (address)) AS holdersFROMtransferAmountsWHEREpoolholdings > 0.01