doc/book/annexes/rql/language.rst
changeset 10522 1660a0fa4f43
parent 10449 279b3662e8f1
parent 10491 c67bcee93248
child 11889 207e6d088791
--- a/doc/book/annexes/rql/language.rst	Wed Jul 08 09:37:06 2015 +0200
+++ b/doc/book/annexes/rql/language.rst	Thu Jul 09 16:43:56 2015 +0200
@@ -370,7 +370,7 @@
 
 .. sourcecode:: sql
 
-  DISTINCT ANY P WHERE V version_of P
+  DISTINCT Any P WHERE V version_of P
 
 This will work, but is not efficient, as it will use the ``SELECT
 DISTINCT`` SQL predicate, which needs to retrieve all projects, then
@@ -379,7 +379,7 @@
 
 .. sourcecode:: sql
 
-  ANY P WHERE EXISTS V version_of P
+  Any P WHERE EXISTS(V version_of P)
 
 
 You can also use the question mark (`?`) to mark optional relations. This allows