SQL practice / Roblox
Free SQL interview practice

Roblox SQL interview questions. All free.

10 SQL practice questions in our Roblox 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.

6 Medium · 4 Hard

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

Inside the Roblox set

SQL topics you can practice.

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

Medium · 20 min

Top Games by Playtime in 30 Days

Identify the top 25 games by total playtime in the past 30 days. Return: game_id, game_name, category, total_playtime_hours, unique_players, sessions_count, avg_session_duration_minutes, and rank_by_playtime. Order by total_playtime_hours descending.

Tables: play_sessions, games
Hard · 25 min

User Engagement by Join Cohort

Perform cohort analysis for users who joined in January, February, and March 2025. For each cohort and week (0-1, 1-2, 2-3, 3-4), return: join_cohort_month, week_number, users_in_cohort, active_users, retention_percent, total_playtime_hours, and avg_sessions_per_user.

Tables: users, play_sessions
Hard · 28 min

Creator Earnings Analysis

Analyze creator earnings for the past 12 months. Return creator_type (verified vs. non-verified), total_creators, median_monthly_robux, p95_monthly_robux, and p99_monthly_robux.

Tables: users, creators, games, revenue_shares
The bank

Roblox SQL questions. Start typing SQL.

10 Roblox problems, each with its own dataset. Click one and you’re in the workspace, free, right in your browser.

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.
Top Games by Playtime in 30 DaysRoblox

Your dataset

play_sessions

session_id (INTEGER) · user_id (INTEGER) · game_id (INTEGER) · session_start (TIMESTAMP) · session_end (TIMESTAMP) · playtime_seconds (INTEGER)

games

game_id (INTEGER) · game_name (VARCHAR) · creator_id (INTEGER) · category (VARCHAR) · created_date (DATE)

Try this Roblox question
10
Roblox 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 Roblox SQL free

Create a free account to sync solved history →