Query editor
WITH Unique_Depositors AS (SELECT DISTINCTtoAddress AS Distinct_Depositors,SUM(amount) / POW(10, 6) AS Deposit_Amount,MAX(evt_block_date) as last_dateFROM lighter_v2_ethereum.zklighter_evt_depositGROUP BY toAddress)SELECTDistinct_Depositors,Deposit_Amount,last_dateFROM Unique_Depositors