Query editor
selectsum(amount) as amountfrom (selectsum(value / 1e18) as amountfrom erc20_ethereum.evt_Transfer awhere to = 0x38e99721Ff136f55188c8519b86f220B4f34c36Dand contract_address in (0xED1273928bA97EEd7B49e82C2F39D512D7591112,0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2)union allselect-sum(value / 1e18) as amountfrom erc20_ethereum.evt_Transfer awhere "from" = 0x38e99721Ff136f55188c8519b86f220B4f34c36Dand contract_address in (0xED1273928bA97EEd7B49e82C2F39D512D7591112,0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2))