Computer scienceFundamentalsSQL and DatabasesDBMSMongoDBOperations and operators

Sort, limit, and skip

Employees

Report a typo

We have a collection named employees. A few employees have the same names. So we want to sort all the documents by name and then by the salary. Records should be sorted in ascending (alphabetical) order.

Enter a short text
___

Create a free account to access the full topic