binhachonLofty AI Platform Dashboard - #3 - Top users that have invested the most in Lofty AI
    Updated 2023-01-02
    select
    address,
    sum(amount) as "Token amount",
    count(distinct asset_id) as "Number of different properties",
    sum(amount) * 50 as "Investment amount (USD)"
    from algorand.account_asset
    where asset_id in (select asset_id
    from algorand.asset
    where creator_address = 'LOFTYRITC3QUX6TVQBGT3BARKWAZDEB2TTJWYQMH6YITKNH7IOMWRLC7SA')
    --and address != 'LOFTYRITC3QUX6TVQBGT3BARKWAZDEB2TTJWYQMH6YITKNH7IOMWRLC7SA'
    group by 1
    order by 2 desc
    Run a query to Download Data