File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ db.reviews.aggregate([
26
26
]);
27
27
```
28
28
29
- ### ** Equivalent SQL Query **
29
+ ### ** Equivalent SQL query **
30
30
31
31
``` sql
32
32
SELECT * FROM books ORDER BY timestamp DESC ;
@@ -44,9 +44,9 @@ SELECT * FROM books ORDER BY timestamp DESC;
44
44
}
45
45
```
46
46
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.
48
48
49
- ### Example: Find the 5 most recent reviews on our app.
49
+ ### Example: Find the 5 most recent reviews on our app
50
50
51
51
``` js
52
52
db .reviews .aggregate ([
@@ -59,7 +59,7 @@ db.reviews.aggregate([
59
59
]);
60
60
```
61
61
62
- ### ** Equivalent SQL Query **
62
+ ### ** Equivalent SQL query **
63
63
64
64
``` sql
65
65
SELECT * FROM books ORDER BY timestamp DESC LIMIT 5 ;
@@ -69,7 +69,7 @@ SELECT * FROM books ORDER BY timestamp DESC LIMIT 5;
69
69
70
70
### 👐 Challenge
71
71
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?
73
73
74
74
<details >
75
75
<summary >Answer</summary >
You can’t perform that action at this time.
0 commit comments