kitlunaMakerDAO/Withdrawal (4)
    Updated 2022-09-04
    SELECT
    WITHDRAWER,
    SUM (AMOUNT_WITHDRAWN * PRICE) as volume_withdrawn
    FROM ethereum.maker.ez_withdrawals a
    LEFT JOIN ethereum.core.fact_hourly_token_prices b
    ON HOUR = BLOCK_TIMESTAMP::date
    AND a.symbol = b.symbol
    WHERE BLOCK_TIMESTAMP >= '2022-01-01' AND TX_STATUS = 'SUCCESS'
    GROUP BY WITHDRAWER
    HAVING volume_withdrawn IS NOT NULL
    ORDER BY volume_withdrawn DESC
    Run a query to Download Data