Videos With Zero Views
Find all videos that have received no views. Return the video_id and creator_id for each video with zero views, ordered by video_id ascending.
5 SQL practice questions in our TikTok collection, part of our 188-question bank across 23 companies. Write SQL against practice datasets and get checked in your browser. Free, no card or trial.
No account needed to start. Draft SQL stays in this browser; create an account to sync solved history.
1 Easy · 1 Easy–Medium · 2 Medium · 1 Hard
Independent practice resource. Not affiliated with or endorsed by TikTok.
These topics come from the questions in this set. Pick one to open the matching problems.
Find all videos that have received no views. Return the video_id and creator_id for each video with zero views, ordered by video_id ascending.
Calculate the 7-day rolling average of daily video uploads. For each day, return the upload_date, the count of videos uploaded that day (daily_count), and the rolling 7-day average (rolling_7d_avg). Use a window function to compute the rolling average. Order by upload_date.
Identify the top 10 creators by engagement rate (engagements per view). For each creator, return: creator_id, creator_name, total_views, total_engagements, and engagement_rate. Only include creators with at least 1000 total views. Order by engagement_rate descending.
5 TikTok problems, each with its own dataset. Click one and you’re in the workspace, free, right in your browser.
Your dataset
video_id (INTEGER) · creator_id (INTEGER) · upload_date (DATE) · duration_seconds (INTEGER)
view_id (INTEGER) · video_id (INTEGER) · viewer_id (INTEGER) · view_date (DATE) · watch_duration_seconds (INTEGER)
Start free, no account needed. When you create one, everything you’ve solved comes with you — solved marks, streaks, and concept ratings on your dashboard.
Practice TikTok SQL free188 SQL practice questions. 23 companies. Free access to every problem.