Top-selling products database design
Filed under Nearbuy
The question
Design a database to handle a data stream arriving every hour containing n products and their sold counts, in order to find the product sold maximum in the last x hours.
No write-up yet. Related questions below have one.
Collected from public candidate posts and coding forums. Updated Nov 2026.