Databricks
Foundations Track · Easy · 15 min
Most Frequent Item Counts
Databricks wants a scorecard for most frequent item counts. Return the item_count value or values with the highest order_occurrences. Sort by item_count.
Company labels are directional practice context, not official interview guidance.
Objective
Practice query basics through a Databricks-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.
Databricks wants a scorecard for most frequent item counts. Return the item_count value or values with the highest order_occurrences. Sort by item_count.
items_per_order
| item_count | order_occurrences |
|---|---|
| 1 | 12 |
| 2 | 8 |
| 3 | 20 |
| 4 | 20 |
| 5 | 5 |
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.