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.
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).
These topics come from the questions in this set. Pick one to open the matching problems.
Create a histogram showing the number of tweets per user in 2022. Output tweet_bucket and users_num, ordered by tweet_bucket.
1 X (Twitter) problem, each with its own dataset. Click one and you’re in the workspace, free, right in your browser.
Your dataset
tweet_id (INTEGER) · user_id (INTEGER) · msg (VARCHAR) · tweet_date (TIMESTAMP)
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 free188 SQL practice questions. 23 companies. Free access to every problem.