Skip to content

Instantly share code, notes, and snippets.

View marcellustavares's full-sized avatar

Marcellus Tavares marcellustavares

View GitHub Profile
@cloudify
cloudify / Finding User Sessions with SQL
Last active March 11, 2022 14:03 — forked from bstancil/Finding User Sessions with SQL
These queries let you define find user sessions against event data logged to Segment SQL, Snowplow, or Google BigQuery.
-- These queries let you define find user sessions against event data
-- logged to Segment SQL, Snowplow, or Google BigQuery.
-- For more details, see the full post:
-- LINK
--- SEGMENT SQL
-- Finding the start of every session
SELECT *
FROM (