select sum(amount_usd),from_label,date(block_timestamp) from ethereum.udm_events
where to_address in ('0x9509665d015bfe3c77aa5ad6ca20c8afa1d98989','0x86969d29f5fd327e1009ba66072be22db6017cc6',
'0xcafe001067cdef266afb7eb5a286dcfd277f3de5','0xe6b692dcc972b9a5c3c414ac75ddc420b9edc92d',
'0xf90e98f3d8dce44632e5020abf2e122e0f99dfab','0x60fb0b38ff0fcb98462e70aa5da4dff047635ec3','0x1bd435f3c054b6e901b7b108a0ab7617c808677b')
and from_label_type='dex'
and year(block_timestamp)=2021
group by 2,3
order by 1 desc