Query editor
select date_trunc('day', minute) as day, avg(price) as pricefrom prices.usdwhere symbol = 'BTC' and blockchain is NULLand minute >= TIMESTAMP '2022-7-1'group by 1order by day
Query editor
1select date_trunc('day', minute) as day, avg(price) as price2from prices.usd3where symbol = 'BTC' and blockchain is NULL4and minute >= TIMESTAMP '2022-7-1'5group by 16order by day