Updated 2022-12-16
    select
    Block_timestamp as Date,
    Price as "Sent Amount",
    Currency as "Sent Currency",
    1 as "Recieved Amount",
    NFT_collection as "Recieved Currency",
    '' as "Fee Amount",
    '' as "Fee Currency",
    '' as "Net Worth Amount",
    '' as "Net Worth Currency",
    'NFT buy' as Label,
    substring(NFT_collection,15,4) as Description,
    tx_id as TxHash
    from flow.core.ez_nft_sales
    where buyer = '0xdf868d4de6d2e0ab'
    and TX_SUCCEEDED = true
    union
    SELECT
    Block_timestamp as Date,
    1 as "Sent Amount",
    NFT_collection as "Sent Currency",
    substring( TOKENFLOW[3],31,8) as "Recieved Amount",
    Currency as "Recieved Currency",
    '' as "Fee Amount",
    '' as "Fee Currency",
    '' as "Net Worth Amount",
    '' as "Net Worth Currency",
    'NFT buy' as Label,
    substring(NFT_collection,15,4) as Description,
    tx_id as TxHash
    from flow.core.ez_nft_sales
    where seller = '0xdf868d4de6d2e0ab'
    and TX_SUCCEEDED = true
    order by date
    Run a query to Download Data