Skip to content

Commit 9bfeede

Browse files
Fixed SQL typos
1 parent fed79a3 commit 9bfeede

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/40-CRUD/1-WHERE.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Now, let's utilize a few MongoDB operators and create more sophisticated queries
4040
Suppose we want to get all the books written in 2010 OR books that have more than 200 pages.
4141

4242
```sql
43-
SELECT * FROM books WHERE year = 2010 OR pages > 200
43+
SELECT * FROM books WHERE year = 2010 OR pages > 200;
4444
```
4545

4646
Equivalent MongoDB query:
@@ -59,7 +59,7 @@ db.books.find({
5959
This time, instead of OR, let's query using AND:
6060

6161
```sql
62-
SELECT * FROM books WHERE year = 2010 AND pages > 200
62+
SELECT * FROM books WHERE year = 2010 AND pages > 200;
6363
```
6464

6565
Equivalent MongoDB query:

0 commit comments

Comments
 (0)