hts/internal/tinybird/pipes/aggregate_unique_visitors_p...

11 lines
224 B
Plaintext

NODE pageviews_pipe_3663_0
SQL >
SELECT
count() as views,
path,
toStartOfHour(fromUnixTimestamp64Milli(time)) as time
FROM pageviews
group by sessionId, time, path
order by time desc