#730

Products that ever sold

The merchandising manager is putting together a «live catalogue» — products with at least one sale. Dead stock comes off the storefront. Return the id and name of such products, sort by id.

Expected output sample

This is what a correct answer looks like — its row count is its own, it doesn't have to match the schema tables.

idname
1Кружка
2Чайник
3Микроволновка

Your query result will appear here

Focus radio
Paused · SomaFM · Fluid