Skip to content
Snippets Groups Projects
Verified Commit 1ef2a264 authored by Denis Smirnov's avatar Denis Smirnov
Browse files

doc: add distinct for aggregate functions

parent a16c6b7e
No related branches found
No related tags found
1 merge request!1414sbroad import
......@@ -42,7 +42,7 @@ expression ::= (table '.')? column
| 'TO_CHAR' '(' expression',' format ')'
| 'TRIM' '(' ((('LEADING' | 'TRAILING' | 'BOTH')? expression) | ('LEADING' | 'TRAILING' | 'BOTH')) 'FROM' expression ')'
| 'CASE' expression? ('WHEN' expression 'THEN' expression)+ ('ELSE' expression)? 'END'
aggregate ::= ('AVG' | 'COUNT' | 'MAX' | 'MIN' | 'SUM' | 'TOTAL') '(' expression ')'
aggregate ::= ('AVG' | 'COUNT' | 'MAX' | 'MIN' | 'SUM' | 'TOTAL') '(' ( 'DISTINCT'? expression ) ')'
| 'GROUP_CONCAT' '(' expression ',' "'" string "'" ')'
cast ::= 'CAST' '(' expression 'AS' type ')'
values ::= 'VALUES'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment