Skip to content
This repository was archived by the owner on Aug 16, 2022. It is now read-only.

Commit 580c2b6

Browse files
author
ashwinkumar12345
committed
minor fix
1 parent 2dffb4c commit 580c2b6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/sql/window.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ If you use the ranking function without the `ORDER BY` clause, the result is und
5252
### RANK
5353

5454
The `RANK` function assigns a ranking value to each row of a result set.
55-
It assigns the same ranking value for the same field values specified in the `ORDER BY` list. In this case, the next few ranks are skipped depending on the number of ties that occur.
55+
It assigns the same ranking value for the same field values specified in the `ORDER BY` list.
5656

5757
```sql
5858
SELECT gender, RANK()
@@ -67,7 +67,9 @@ AS rnk FROM accounts;
6767
| M | 1
6868
| M | 1
6969
| M | 1
70-
| F | 4
70+
| F | 4
71+
72+
In this case, the next few ranks are skipped depending on the number of ties that occur.
7173

7274
### ROW_NUMBER
7375

0 commit comments

Comments
 (0)