SQL++ - Shopper - Listing the top 10 best selling products

Don wants to know what are the top 10 best selling products on the dimestore website.

Thanks to N1QL, we can now easily query the data in Couchbase to produce that list.


To run this example, click the button in the top right corner of the code editor.

Code Editor

Output