Skip to content

Commit

Permalink
Update order-by.md (#1330)
Browse files Browse the repository at this point in the history
  • Loading branch information
foesa-yang committed May 6, 2022
1 parent 0fa480d commit 74175f2
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions docs-2.0/3.ngql-guide/8.clauses-and-options/order-by.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,22 +93,22 @@ nGQL lists NULL values at the end of the output for ascending sorting, and at th
nebula> MATCH (v:player{name:"Tim Duncan"}) --> (v2) \
RETURN v2.player.name AS Name, v2.player.age AS Age \
ORDER BY Age;
+-----------------+--------------+
| Name | Age |
+-----------------+--------------+
| "Tony Parker" | 36 |
| "Manu Ginobili" | 41 |
| "Spurs" | UNKNOWN_PROP |
+-----------------+--------------+
+-----------------+----------+
| Name | Age |
+-----------------+----------+
| "Tony Parker" | 36 |
| "Manu Ginobili" | 41 |
| __NULL__ | __NULL__ |
+-----------------+----------+
nebula> MATCH (v:player{name:"Tim Duncan"}) --> (v2) \
RETURN v2.player.name AS Name, v2.player.age AS Age \
ORDER BY Age DESC;
+-----------------+--------------+
| Name | Age |
+-----------------+--------------+
| "Spurs" | UNKNOWN_PROP |
| "Manu Ginobili" | 41 |
| "Tony Parker" | 36 |
+-----------------+--------------+
+-----------------+----------+
| Name | Age |
+-----------------+----------+
| __NULL__ | __NULL__ |
| "Manu Ginobili" | 41 |
| "Tony Parker" | 36 |
+-----------------+----------+
```

0 comments on commit 74175f2

Please sign in to comment.