Fix date, we need whole day
This commit is contained in:
parent
6d7419875c
commit
bea8980457
@ -20,7 +20,7 @@ l AS (
|
||||
FROM logs l
|
||||
JOIN s
|
||||
ON l.created_at >= s.today
|
||||
AND l.created_at < s.today
|
||||
AND l.created_at < s.today + 1
|
||||
AND s.app_id = l.app_id
|
||||
GROUP BY l.session_id
|
||||
),
|
||||
@ -31,7 +31,7 @@ b AS (
|
||||
FROM logs_events l
|
||||
JOIN s
|
||||
ON l.created_at >= s.today
|
||||
AND l.created_at < s.today
|
||||
AND l.created_at < s.today + 1
|
||||
AND s.app_id = l.app_id
|
||||
GROUP BY l.session_id
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user