Query editor
with price as (select price,decimals,symbolfrom prices.usd_latestwhere contract_address = 0x30D20208d987713f46DFD34EF128Bb16C404D10fand blockchain = 'ethereum'),supply as (select sum(cast(value as double)*-1) as amountfromerc20_ethereum.evt_Transferwhere contract_address = 0x30D20208d987713f46DFD34EF128Bb16C404D10fand "to" in (0x0000000000000000000000000000000000000000,0x000000000000000000000000000000000000dEaD,0xD15a672319Cf0352560eE76d9e89eAB0889046D3)union allselect sum(cast(value as double)) as amountfrom erc20_ethereum.evt_Transferwhere contract_address = 0x30D20208d987713f46DFD34EF128Bb16C404D10fand "from"=0x0000000000000000000000000000000000000000)select symbol, price, sum(amount*price/power(10,decimals)) as market_cap,sum(amount/power(10,decimals)) as circulatingfrom supply,pricegroup by 1,2