mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-28 18:26:15 +01:00
cecb7510b8
* small tweaks and reorganize session queries * move all queries to query folder
12 lines
192 B
Python
12 lines
192 B
Python
AVERAGE_SQL = """
|
|
SELECT
|
|
SUM(total),
|
|
day_start
|
|
FROM
|
|
({null_sql} UNION ALL {sessions})
|
|
GROUP BY
|
|
day_start
|
|
ORDER BY
|
|
day_start
|
|
"""
|