with table1 as (
select buyer_address as Buyers,
count (distinct tx_hash) as TX_Count,
count (distinct tokenid) as Tokens_Count,
sum (price_usd) as USD_Value,
sum (price) as ETH_Value
FROM ethereum.core.ez_nft_sales
where EVENT_TYPE = 'sale' and CURRENCY_SYMBOL = 'ETH' and lower(NFT_ADDRESS)=lower('0x8a90CAb2b38dba80c64b7734e58Ee1dB38B8992e')
group by 1)
select avg(TX_Count),
avg (Tokens_Count),
avg (USD_Value),
avg (ETH_Value)
from table1