fix pet-project
This commit is contained in:
@@ -21,11 +21,12 @@ SELECT
|
||||
popularity_rank
|
||||
FROM dmezentsev.lesson_popularity_ranking
|
||||
WHERE avg_views_per_viewer > 1
|
||||
ORDER BY avg_views_per_viewer DESC, total_views DESC;
|
||||
ORDER BY avg_views_per_viewer DESC, total_views DESC
|
||||
LIMIT 3;
|
||||
|
||||
-- Задание 3: Лучшая когорта по retention
|
||||
SELECT cohort_month, retention_rate
|
||||
FROM user_cohort_analysis
|
||||
FROM dmezentsev.user_cohort_analysis
|
||||
ORDER BY retention_rate DESC
|
||||
LIMIT 3;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user