Commit 6584b3a3 authored by unknown's avatar unknown

Added description of DISTINCT/DISTINCTROW/ALL options in SELECT.

parent 3416daff
...@@ -33100,6 +33100,13 @@ mysql> select user,max(salary) AS sum from users ...@@ -33100,6 +33100,13 @@ mysql> select user,max(salary) AS sum from users
-> group by user HAVING sum>10; -> group by user HAVING sum>10;
@end example @end example
@item
The options @code{DISTINCT}, @code{DISTINCTROW} and @code{ALL} specify
whether duplicate rows should be returned. The default is (@code{ALL}),
all matching rows are returned. @code{DISTINCT} and @code{DISTINCTROW}
are synonyms and specify that duplicate rows in the result set should
be removed.
@item @item
All options beginning with @code{SQL_}, @code{STRAIGHT_JOIN}, and All options beginning with @code{SQL_}, @code{STRAIGHT_JOIN}, and
@code{HIGH_PRIORITY} are MySQL extensions to ANSI SQL. @code{HIGH_PRIORITY} are MySQL extensions to ANSI SQL.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment