update general query

This commit is contained in:
Pavel 2024-03-18 12:32:59 +03:00
parent bf40791e85
commit 02735ebe96

@ -400,11 +400,10 @@ WITH TimeBucket AS (
SELECT
tb.time_interval,
COUNT(DISTINCT session) AS open_count
FROM
(
FROM (
SELECT
session,
MIN(created_at) AS first_start_time
MAX(created_at) AS first_start_time
FROM
answer
WHERE
@ -427,7 +426,7 @@ WITH TimeBucket AS (
(
SELECT
session,
MIN(created_at) AS first_result_time
MAX(created_at) AS first_result_time
FROM
answer
WHERE