Query editor
withrev as (SELECTDATE_TRUNC('week', tx_block_time) as time,sum(value_decimal) as subc_revenuefromtransfers_ethereum.ethWHEREto = 0xA75Be1Fd19c3bb0EcdC278E0ab77820D90F8CE7BGROUP by1),pricenerd as (SELECThour,median_price as nerdfromdex.priceswherecontract_address = 0xED1273928bA97EEd7B49e82C2F39D512D7591112order byhour desclimit1),priceeth as (Selectminute,price as ethfromprices.usdwheresymbol = 'WETH'and blockchain = 'ethereum'order byminute desclimit1)SELECT time, subc_revenue*eth/nerd as NERD_Burn_SimulatorFROM rev cross join pricenerd cross join priceethorder by time desc