Drew Johnson
05/13/2022, 3:38 PMuser_id, course_id
combinations? e.g. in this set of data the all time count should be 4, as the user_id 1, course_id 1 combination is repeated. Struggling to find a way to aggregate based on two attributes without adding a new attribute to the data set and feel like we're missing something obviousPetr Olmer
05/13/2022, 4:03 PMSELECT SUM(SELECT COUNT(user_id) BY course_id)
. Check out this course for the full explanation and other examplesDrew Johnson
05/13/2022, 4:12 PM