SQL practice / X (Twitter)
Free SQL interview practice

X (Twitter) SQL interview questions. All free.

1 SQL practice question in our X (Twitter) 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 Medium

Independent practice resource. Not affiliated with or endorsed by X (Twitter).

Inside the X (Twitter) set

SQL topics you can practice.

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

Medium · 10 min

Histogram of Tweets

Create a histogram showing the number of tweets per user in 2022. Output tweet_bucket and users_num, ordered by tweet_bucket.

Tables: tweets
The bank

X (Twitter) SQL questions. Start typing SQL.

1 X (Twitter) problem, 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.
Histogram of TweetsX (Twitter)

Your dataset

tweets

tweet_id (INTEGER) · user_id (INTEGER) · msg (VARCHAR) · tweet_date (TIMESTAMP)

Try this X (Twitter) question
1
X (Twitter) question
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 X (Twitter) SQL free

Create a free account to sync solved history →