You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/connections/storage/warehouses/redshift-useful-sql.md
+10-3Lines changed: 10 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,12 +8,19 @@ Below you'll find a library of some of the most useful SQL queries customers use
8
8
9
9
You can use SQL queries for the following tasks:
10
10
-[Tracking events](#tracking-events)
11
-
-[Defining sessions](#defining-sessions)
12
-
-[Identifying users](#identifying-users)
11
+
-[Grouping events by day](#grouping-events-by-day)
12
+
-[Define sessions](#define-sessions)
13
+
-[How to define user sessions using SQL](#how-to-define-user-sessions-using-sql)
14
+
-[Identify users](#identify-users)
15
+
-[Historical traits](#historical-traits)
16
+
-[Convert the identifies table into a users table](#convert-the-identifies-table-into-a-users-table)
17
+
-[Counts of user traits](#counts-of-user-traits)
13
18
-[Groups to accounts](#groups-to-accounts)
19
+
-[Historical Traits](#historical-traits-1)
20
+
-[Converting the Groups Table into an Organizations Table](#converting-the-groups-table-into-an-organizations-table)
14
21
15
22
> note " "
16
-
> If you're looking for SQL queries for warehouses other than Redshift, check out some of Segment's [Analyzing with SQL guides](/docs/connections/storage/warehouses/index/#analyzing-with-sql).
23
+
> If you're looking for SQL queries for warehouses other than Redshift, check out some of Segment's [Analyzing with SQL guides](/docs/connections/storage/warehouses#analyzing-with-sql).
0 commit comments