Skip to content

Commit

Permalink
SQL Match highlight keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
gramian committed Jan 14, 2025
1 parent e103b8f commit 1c636a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/asciidoc/sql/SQL-Match.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ RETURN c.name
*DISTINCT*
The MATCH statement returns all the occurrences of a pattern, even if they are duplicated. To have unique, distinct records
as a result, you have to specify the DISTINCT keyword in the RETURN statement.
The `MATCH`` statement returns all the occurrences of a pattern, even if they are duplicated. To have unique, distinct records
as a result, you have to specify the `DISTINCT` keyword in the `RETURN` statement.
Example: suppose you have a dataset made like following:
Expand All @@ -319,7 +319,7 @@ Example: suppose you have a dataset made like following:
INSERT INTO V SET name = 'Jenny', surname = 'Rose'
----
This is the result of the query without a DISTINCT clause:
This is the result of the query without a `DISTINCT` clause:
[source,sql]
----
Expand Down

0 comments on commit 1c636a8

Please sign in to comment.