Skip to content

Commit 07426cb

Browse files
Merge pull request #10 from Meg528/patch-15
Update 3-sort-limit.mdx
2 parents 05b742f + d447009 commit 07426cb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/50-aggregation/3-sort-limit.mdx

+5-5
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ db.reviews.aggregate([
2626
]);
2727
```
2828

29-
### **Equivalent SQL Query**
29+
### **Equivalent SQL query**
3030

3131
```sql
3232
SELECT * FROM books ORDER BY timestamp DESC;
@@ -44,9 +44,9 @@ SELECT * FROM books ORDER BY timestamp DESC;
4444
}
4545
```
4646

47-
- n is the maximum number of documents you want in your results
47+
- n is the maximum number of documents you want in your results.
4848

49-
### Example: Find the 5 most recent reviews on our app.
49+
### Example: Find the 5 most recent reviews on our app
5050

5151
```js
5252
db.reviews.aggregate([
@@ -59,7 +59,7 @@ db.reviews.aggregate([
5959
]);
6060
```
6161

62-
### **Equivalent SQL Query**
62+
### **Equivalent SQL query**
6363

6464
```sql
6565
SELECT * FROM books ORDER BY timestamp DESC LIMIT 5;
@@ -69,7 +69,7 @@ SELECT * FROM books ORDER BY timestamp DESC LIMIT 5;
6969

7070
### 👐 Challenge
7171

72-
## 👐 1. After the year 2010, which book has the most number of authors.
72+
## 👐 1. After the year 2010, which book has the most number of authors?
7373

7474
<details>
7575
<summary>Answer</summary>

0 commit comments

Comments
 (0)