diff --git a/src/main/asciidoc/sql/SQL-Match.adoc b/src/main/asciidoc/sql/SQL-Match.adoc index 5665db24..f2f7647a 100644 --- a/src/main/asciidoc/sql/SQL-Match.adoc +++ b/src/main/asciidoc/sql/SQL-Match.adoc @@ -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: @@ -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] ----