mirror of
https://github.com/PostHog/posthog.git
synced 2024-12-01 04:12:23 +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
|
|
"""
|