SQL practice / Snap
Free SQL interview practice

Snap SQL interview questions. All free.

11 SQL practice questions in our Snap 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.

8 Medium · 3 Hard

Independent practice resource. Not affiliated with or endorsed by Snap.

Inside the Snap set

SQL topics you can practice.

These topics come from the questions in this set. Pick one to open the matching problems.

Medium · 22 min

Time Spent Sending vs. Opening Snaps by Age Group

Analyze time spent by Snap users aged 13-17, 18-24, 25-34, 35+. For each age group, show: age_group, send_time_minutes, open_time_minutes, and send_to_open_ratio. Focus on the past 30 days.

Tables: users, snap_events
Hard · 25 min

Snap Streak Analysis

Identify users with active snap streaks of 7+ days in the past 30 days. Return: user_id, friend_id, current_streak_length, max_streak_in_period. A streak is broken if either user doesn't send a snap on a day (consecutive day requirement).

Tables: snap_streaks
Medium · 20 min

VIP User Identification (100+ Snaps/Week)

Identify VIP users who have sent 100+ snaps per week in the past 4 weeks. Return: user_id, username, avg_snaps_per_week, max_week_snaps, account_age_days. These are power users we want to measure engagement for.

Tables: users, snap_sends
How it works

Solve in the browser. Checked instantly.

  1. 1
    Pick a problemPractice questions for data science and analytics interviews, each with its own tables, difficulty, and time target.
  2. 2
    Write and run SQLA full database engine loads in the tab. No setup, nothing to install — query the practice dataset immediately.
  3. 3
    Submit for a verdictPass and move to the next problem. Miss and you unlock the expected output and a reference solution.
Time Spent Sending vs. Opening Snaps by Age GroupSnap

Your dataset

users

user_id (INTEGER) · birth_date (DATE) · country (VARCHAR)

snap_events

event_id (INTEGER) · user_id (INTEGER) · event_type (VARCHAR) · snap_type (VARCHAR) · event_timestamp (TIMESTAMP) · duration_seconds (INTEGER)

Try this Snap question
11
Snap questions
188
questions in the full bank
$0
free access

Solve one now. Build your solved history.

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 Snap SQL free

Create a free account to sync solved history →