Query editor
select a.time, a.contract_address, total_eth_raw_dep * avg_price as eth_dep_usd, total_eth_raw_receive * avg_price as total_eth_raw_receive, current_eth_collabteral * avg_price as current_eth_collabteral_usd, total_eth_raw_liquidate * avg_price as total_eth_raw_liquidate_usdfrom (select time, from_hex('0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2') as contract_address, total_eth_raw_dep, total_eth_raw_receive, current_eth_collabteral, total_eth_raw_liquidatefrom query_3253440) as aleft join (select date_trunc('hour', minute) as time, contract_address, avg(price) as avg_pricefrom prices.usd_latestgroup by 1,2) as pon a.contract_address = p.contract_address