Alibaba
Foundations Track · Easy · 15 min
Alibaba Compressed Mode
You're given a table containing the item count for each order on Alibaba, along with the frequency of orders that have the same item count. Write a query to ...
Company labels are directional practice context, not official interview guidance.
Objective
Practice filtering through a Alibaba-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.
You're given a table containing the item count for each order on Alibaba, along with the frequency of orders that have the same item count. Write a query to retrieve the mode of the order occurrences. Additionally, if there are multiple item counts with the same mode, the results should be sorted in ascending order. [Full Description]
order_item_counts
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.