Skip to content

Commit

Permalink
fix: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
saraburns1 committed Oct 17, 2024
1 parent 6d2036b commit 98e8065
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions models/video/watched_video_duration.sql
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ with
and b.start_emission_time > a.start_emission_time
),
course_data as (
select course_key, count(distinct block_id) video_count
select org, course_key, count(distinct block_id) video_count
from {{ ref('dim_course_blocks') }}
where block_name = 'Video'
group by course_key
where block_type = 'video'
group by org, course_key
)
select
org,
Expand Down

0 comments on commit 98e8065

Please sign in to comment.