fix pet-project

This commit is contained in:
dmezentsev
2026-06-08 09:47:15 +03:00
parent 1af6c81db1
commit 4e91bb783e
4 changed files with 12 additions and 11 deletions
+3 -2
View File
@@ -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;