Skip to content

Commit

Permalink
Fix date column headers
Browse files Browse the repository at this point in the history
  • Loading branch information
mwest1066 committed Mar 20, 2022
1 parent 53a4b53 commit 098174c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin_queries/course_instance_active_enrollments.sql
Expand Up @@ -79,10 +79,10 @@ SELECT
round(cid.instance_question_count::double precision / cid.total_students::double precision)::integer AS questions_per_student,

-- approximate first date when most students starting working on questions in the course instance (over all students and all time)
to_char(cid.start_date, 'YYYY-MM-DD'),
to_char(cid.start_date, 'YYYY-MM-DD') AS start_date,

-- approximate last date when most students last worked on questions in the course instance (over all students and all time)
to_char(cid.end_date, 'YYYY-MM-DD')
to_char(cid.end_date, 'YYYY-MM-DD') AS end_date
FROM
course_instance_data AS cid
JOIN course_instances AS ci ON (ci.id = cid.id)
Expand Down

0 comments on commit 098174c

Please sign in to comment.