Query editor
with lep_xfer as (SELECT a.evt_tx_hash, a.id, a.evt_block_time, lep_type, "from", "to"FROM erc1155_ethereum.evt_TransferSingle aleft join query_3069180 q on q.id=a.idWHEREa.id IN (select id from query_3069180)AND contract_address = 0x495f947276749ce646f68ac8c248420045cb7b5e)selectcast (evt_block_time as date) as "date",lep_type as item,token_id as lep_id,amount_original as amount,currency_symbol as type,"from" as seller,"to" as buyerfrom lep_xfer cleft join nft.trades n on c.evt_tx_hash = n.tx_hashwhere trade_category = 'buy'ORDER BY evt_block_time desc