Query editor
selectdate_trunc('hour', minute) as dt,avg(price) as pricefrom prices.usdwhere blockchain = 'optimism'and symbol = 'OP'and minute >= now() - interval '3' monthgroup by 1
Query editor
1select2date_trunc('hour', minute) as dt,3avg(price) as price4from prices.usd5where blockchain = 'optimism'6and symbol = 'OP'7and minute >= now() - interval '3' month8group by 1