Super Richman
05/22/2023, 4:16 PMSELECT g.timestamp,g.galon_price,avg(t.price) from gas_prices g, trades t where g.timestamp=t.timestamp
will avg(t.price)
be the avg of each date but also the avg of all dates?
from my check the answer is no, I tried SAMPLE BY
but that doesn't workBolek Ziobrowski
05/22/2023, 8:33 PM