Query editor
SELECTcall_block_time as donation_time,ROUND((1-(devDonation/10000.0000))*gift_amount, 5) as eth_friend_gift_amount,twitterusername as friend_giver,CAST(call_tx_from as VARCHAR) as friend_giver_wallet,ROUND((devDonation/10000.0000)*gift_amount, 5) as eth_dev_donation_amount,recipients as friend_recipient_wallets,date_trunc('day', call_block_time) as dayFROM keydrop_fun_base.KeyDrop_call_donate giftsJOIN (SELECThash,to,value / 1e18 as gift_amountFROM base.transactions) base_txsON gifts.call_tx_hash = base_txs.hashLEFT OUTER JOIN dune.hildobby.dataset_friendtech_profiles usersON users.address = gifts.call_tx_fromORDER BY 1 DESC