Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6458e68

Browse files
committed
WIP
1 parent fd8fc7e commit 6458e68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/database/queries/insights.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ WITH d AS (
101101
from_,
102102
unnest(template_ids) AS template_id
103103
FROM usage_by_day
104-
WHERE usage_by_day.template_ids IS NOT NULL
105104
) AS template_usage_by_day
105+
WHERE template_id IS NOT NULL
106106
GROUP BY template_usage_by_day.from_
107107
)
108108

0 commit comments

Comments
 (0)