Search ⌘K
Uber
Uber

Foundations Track · Medium · 25 min

Purchase Frequency Histogram

Use this Uber scorecard to work on purchase frequency histogram. Show how many users placed each number of purchases. Return purchase_count and user_count, s...

Foundations Track
Medium
25 min
query basics
aggregation

Company labels are directional practice context, not official interview guidance.

Timer 00:00
Back to practice

Objective

Practice query basics through a Uber-tagged business scenario.

Approach

Use this track to lock in clean query structure, basic filtering logic, and confidence with grouped output.

Company context

Company labels are directional practice context, not official interview guidance.

Prereq: query basics
Prereq: filtering

Use this Uber scorecard to work on purchase frequency histogram. Show how many users placed each number of purchases. Return purchase_count and user_count, sorted by purchase_count.

Pro question
This is a Pro question

Upgrade to Pro to unlock this prompt, the SQL workspace, and all 254 problems.

Upgrade to Pro — unlock all 254 problems
Editor
SQL workspace

Run queries against the protected question data, then submit once the result shape looks right.

Sign in to run SQL

Create a free account or sign in before running queries against protected question data.