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.
| id | name |
|---|---|
| 1 | Кружка |
| 2 | Чайник |
| 3 | Микроволновка |
Sign in to see submission history
Sign inSign in to use AI Mentor
Sign inFocus radio
Paused · SomaFM · Fluid