Return-Path:
SQL grammar in BNF-like
form. In merge, at least one of the WHEN MATCHED and WHEN NOT MATCHED clauses must
be present.statement:
+
Quoted identifiers, such as "Employee Name"
, start and end with
+
Quoted identifiers, such as "Employee Name"
, start and end with
double quotes. They may contain virtually any character, including
spaces and other punctuation. If you wish to include a double quote
in an identifier, use another double quote to escape it, like this:
-"An employee called ""Fred""."
.
"An employee called ""Fred""."
.
In Calcite, matching identifiers to the name of the referenced object is case-sensitive. But remember that unquoted identifiers are implicitly @@ -1651,8 +1651,8 @@ name will have been converted to upper c
Where:
-timeUnit:
- YEAR | MONTH | DAY | HOUR | MINUTE | SECOND
Note:
@@ -2370,19 +2370,19 @@ the user or application to supply a timeCURRENT_DATE
CURRENT_DATE
LOCALTIME
LOCALTIME
LOCALTIMESTAMP
LOCALTIMESTAMP
EXTRACT(QUARTER FROM date)
. Returns an integer between 1 and 4.EXTRACT(QUARTER FROM date)
. Returns an integer between 1 and 4.Syntax:
-aggregateCall:
+
If FILTER
is present, the aggregate function only considers rows for which
+
If FILTER
is present, the aggregate function only considers rows for which
condition evaluates to TRUE.
If DISTINCT
is present, duplicate argument values are eliminated before being
+
If DISTINCT
is present, duplicate argument values are eliminated before being
passed to the aggregate function.