freemartianLilNoun Holders
    Updated 2022-06-20
    with receive as (
    select nft_to_address as receiver, count(nft_to_address) as positive_number
    from ethereum.core.ez_nft_transfers
    where nft_address = lower('0x4b10701Bfd7BFEdc47d50562b76b436fbB5BdB3B')
    group by receiver
    ),

    send as (
    select nft_from_address as sender, count(nft_from_address) as negative_number
    from ethereum.core.ez_nft_transfers
    where nft_address = lower('0x4b10701Bfd7BFEdc47d50562b76b436fbB5BdB3B')
    group by sender
    ),

    seller as (
    select sender as wallet, positive_number - negative_number as holdings
    from receive inner join send on receiver = sender
    where holdings > 0
    )

    select receiver as wallet, positive_number as holdings
    from receive inner join send
    where receiver not in (select sender from )
    UNION
    select wallet, holdings
    from seller
    order by holdings DESC
    Run a query to Download Data