Yingyi Bu | 391f09e | 2015-10-29 13:49:39 -0700 | [diff] [blame] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> |
| 2 | <HTML> |
| 3 | <HEAD> |
| 4 | <TITLE>BNF for SQLPP.jj</TITLE> |
| 5 | </HEAD> |
| 6 | <BODY> |
| 7 | <H1 ALIGN=CENTER>BNF for SQLPP.jj</H1> |
| 8 | <H2 ALIGN=CENTER>TOKENS</H2> |
| 9 | <TABLE> |
| 10 | <!-- Token --> |
| 11 | <TR> |
| 12 | <TD> |
| 13 | <PRE> |
| 14 | <DEFAULT,IN_DBL_BRACE> TOKEN [IGNORE_CASE] : { |
| 15 | <ALL: "all"> |
| 16 | | <AND: "and"> |
| 17 | | <APPLY: "apply"> |
| 18 | | <AS: "as"> |
| 19 | | <ASC: "asc"> |
| 20 | | <AT: "at"> |
| 21 | | <AUTOGENERATED: "autogenerated"> |
| 22 | | <BTREE: "btree"> |
| 23 | | <BY: "by"> |
| 24 | | <CASE: "case"> |
| 25 | | <CLOSED: "closed"> |
| 26 | | <CREATE: "create"> |
| 27 | | <COMPACTION: "compaction"> |
| 28 | | <COMPACT: "compact"> |
| 29 | | <CONNECT: "connect"> |
| 30 | | <CORRELATE: "correlate"> |
| 31 | | <DATASET: "table"> |
| 32 | | <DATAVERSE: "database"> |
| 33 | | <DECLARE: "declare"> |
| 34 | | <DEFINITION: "definition"> |
| 35 | | <DELETE: "delete"> |
| 36 | | <DESC: "desc"> |
| 37 | | <DISCONNECT: "disconnect"> |
| 38 | | <DISTINCT: "distinct"> |
| 39 | | <DROP: "drop"> |
| 40 | | <ELEMENT: "element"> |
| 41 | | <ELSE: "else"> |
| 42 | | <ENFORCED: "enforced"> |
| 43 | | <EVERY: "every"> |
| 44 | | <EXCEPT: "except"> |
| 45 | | <EXISTS: "exists"> |
| 46 | | <EXTERNAL: "external"> |
| 47 | | <FEED: "feed"> |
| 48 | | <FILTER: "filter"> |
| 49 | | <FLATTEN: "flatten"> |
| 50 | | <FOR: "for"> |
| 51 | | <FORMAT: "format"> |
| 52 | | <FROM: "from"> |
| 53 | | <FULL: "full"> |
| 54 | | <FUNCTION: "function"> |
| 55 | | <GROUP: "group"> |
| 56 | | <HAVING: "having"> |
| 57 | | <HINTS: "hints"> |
| 58 | | <IF: "if"> |
| 59 | | <INTO: "into"> |
| 60 | | <IN: "in"> |
| 61 | | <INDEX: "index"> |
| 62 | | <INGESTION: "ingestion"> |
| 63 | | <INNER: "inner"> |
| 64 | | <INSERT: "insert"> |
| 65 | | <INTERNAL: "internal"> |
| 66 | | <INTERSECT: "intersect"> |
| 67 | | <JOIN: "join"> |
| 68 | | <KEYWORD: "keyword"> |
| 69 | | <KEY: "key"> |
| 70 | | <LEFT: "left"> |
| 71 | | <LETTING: "letting"> |
| 72 | | <LET: "let"> |
| 73 | | <LIMIT: "limit"> |
| 74 | | <LOAD: "load"> |
| 75 | | <NEST: "nest"> |
| 76 | | <NODEGROUP: "nodegroup"> |
| 77 | | <NGRAM: "ngram"> |
| 78 | | <OFFSET: "offset"> |
| 79 | | <ON: "on"> |
| 80 | | <OPEN: "open"> |
| 81 | | <OR: "or"> |
| 82 | | <ORDER: "order"> |
| 83 | | <OUTER: "outer"> |
| 84 | | <OUTPUT: "output"> |
| 85 | | <PATH: "path"> |
| 86 | | <POLICY: "policy"> |
| 87 | | <PRESORTED: "pre-sorted"> |
| 88 | | <PRIMARY: "primary"> |
| 89 | | <RAW: "raw"> |
| 90 | | <REFRESH: "refresh"> |
| 91 | | <RETURN: "return"> |
| 92 | | <RTREE: "rtree"> |
| 93 | | <RUN: "run"> |
| 94 | | <SATISFIES: "satisfies"> |
| 95 | | <SECONDARY: "secondary"> |
| 96 | | <SELECT: "select"> |
| 97 | | <SET: "set"> |
| 98 | | <SOME: "some"> |
| 99 | | <TEMPORARY: "temporary"> |
| 100 | | <THEN: "then"> |
| 101 | | <TYPE: "type"> |
| 102 | | <TO: "to"> |
| 103 | | <UNION: "union"> |
| 104 | | <UNNEST: "unnest"> |
| 105 | | <VALUE: "value"> |
| 106 | | <WHEN: "when"> |
| 107 | | <WHERE: "where"> |
| 108 | | <WITH: "with"> |
| 109 | | <WRITE: "write"> |
| 110 | | <UPDATE: "update"> |
| 111 | | <USE: "use"> |
| 112 | | <USING: "using"> |
| 113 | } |
| 114 | |
| 115 | </PRE> |
| 116 | </TD> |
| 117 | </TR> |
| 118 | <!-- Token --> |
| 119 | <TR> |
| 120 | <TD> |
| 121 | <PRE> |
| 122 | <DEFAULT,IN_DBL_BRACE> TOKEN : { |
| 123 | <CARET: "^"> |
| 124 | | <DIV: "/"> |
| 125 | | <IDIV: "idiv"> |
| 126 | | <MINUS: "-"> |
| 127 | | <MOD: "%"> |
| 128 | | <MUL: "*"> |
| 129 | | <PLUS: "+"> |
| 130 | | <LEFTPAREN: "("> |
| 131 | | <RIGHTPAREN: ")"> |
| 132 | | <LEFTBRACKET: "["> |
| 133 | | <RIGHTBRACKET: "]"> |
| 134 | | <ATT: "@"> |
| 135 | | <COLON: ":"> |
| 136 | | <COMMA: ","> |
| 137 | | <DOT: "."> |
| 138 | | <QUES: "?"> |
| 139 | | <SEMICOLON: ";"> |
| 140 | | <SHARP: "#"> |
| 141 | | <LT: "<"> |
| 142 | | <GT: ">"> |
| 143 | | <LE: "<="> |
| 144 | | <GE: ">="> |
| 145 | | <EQ: "="> |
| 146 | | <NE: "!="> |
| 147 | | <SIMILAR: "~="> |
| 148 | } |
| 149 | |
| 150 | </PRE> |
| 151 | </TD> |
| 152 | </TR> |
| 153 | <!-- Token --> |
| 154 | <TR> |
| 155 | <TD> |
| 156 | <PRE> |
| 157 | <DEFAULT,IN_DBL_BRACE> TOKEN : { |
| 158 | <LEFTBRACE: "{"> : DEFAULT |
| 159 | } |
| 160 | |
| 161 | </PRE> |
| 162 | </TD> |
| 163 | </TR> |
| 164 | <!-- Token --> |
| 165 | <TR> |
| 166 | <TD> |
| 167 | <PRE> |
| 168 | <DEFAULT> TOKEN : { |
| 169 | <RIGHTBRACE: "}"> : { |
| 170 | } |
| 171 | |
| 172 | </PRE> |
| 173 | </TD> |
| 174 | </TR> |
| 175 | <!-- Token --> |
| 176 | <TR> |
| 177 | <TD> |
| 178 | <PRE> |
| 179 | <DEFAULT,IN_DBL_BRACE> TOKEN : { |
| 180 | <LEFTDBLBRACE: "{{"> : IN_DBL_BRACE |
| 181 | } |
| 182 | |
| 183 | </PRE> |
| 184 | </TD> |
| 185 | </TR> |
| 186 | <!-- Token --> |
| 187 | <TR> |
| 188 | <TD> |
| 189 | <PRE> |
| 190 | <IN_DBL_BRACE> TOKEN : { |
| 191 | <RIGHTDBLBRACE: "}}"> : { |
| 192 | } |
| 193 | |
| 194 | </PRE> |
| 195 | </TD> |
| 196 | </TR> |
| 197 | <!-- Token --> |
| 198 | <TR> |
| 199 | <TD> |
| 200 | <PRE> |
| 201 | <DEFAULT,IN_DBL_BRACE> TOKEN : { |
| 202 | <INTEGER_LITERAL: (<DIGIT>)+> |
| 203 | } |
| 204 | |
| 205 | </PRE> |
| 206 | </TD> |
| 207 | </TR> |
| 208 | <!-- Token --> |
| 209 | <TR> |
| 210 | <TD> |
| 211 | <PRE> |
| 212 | <DEFAULT,IN_DBL_BRACE> TOKEN : { |
| 213 | <NULL: "null"> |
| 214 | | <TRUE: "true"> |
| 215 | | <FALSE: "false"> |
| 216 | } |
| 217 | |
| 218 | </PRE> |
| 219 | </TD> |
| 220 | </TR> |
| 221 | <!-- Token --> |
| 222 | <TR> |
| 223 | <TD> |
| 224 | <PRE> |
| 225 | <DEFAULT,IN_DBL_BRACE> TOKEN : { |
| 226 | <#DIGIT: ["0"-"9"]> |
| 227 | } |
| 228 | |
| 229 | </PRE> |
| 230 | </TD> |
| 231 | </TR> |
| 232 | <!-- Token --> |
| 233 | <TR> |
| 234 | <TD> |
| 235 | <PRE> |
| 236 | <DEFAULT,IN_DBL_BRACE> TOKEN : { |
| 237 | <DOUBLE_LITERAL: <DIGITS> | <DIGITS> ("." <DIGITS>)? | "." <DIGITS>> |
| 238 | | <FLOAT_LITERAL: <DIGITS> ("f" | "F") | <DIGITS> ("." <DIGITS> ("f" | "F"))? | "." <DIGITS> ("f" | "F")> |
| 239 | | <DIGITS: (<DIGIT>)+> |
| 240 | } |
| 241 | |
| 242 | </PRE> |
| 243 | </TD> |
| 244 | </TR> |
| 245 | <!-- Token --> |
| 246 | <TR> |
| 247 | <TD> |
| 248 | <PRE> |
| 249 | <DEFAULT,IN_DBL_BRACE> TOKEN : { |
| 250 | <#LETTER: ["A"-"Z","a"-"z"]> |
| 251 | | <SPECIALCHARS: ["$","_"]> |
| 252 | } |
| 253 | |
| 254 | </PRE> |
| 255 | </TD> |
| 256 | </TR> |
| 257 | <!-- Token --> |
| 258 | <TR> |
| 259 | <TD> |
| 260 | <PRE> |
| 261 | <DEFAULT,IN_DBL_BRACE> TOKEN : { |
| 262 | <QUOTED_STRING: "\"" (<EscapeQuot> | <EscapeBslash> | <EscapeSlash> | <EscapeBspace> | <EscapeFormf> | <EscapeNl> | <EscapeCr> | <EscapeTab> | ~["\"","\\"])* "\""> |
| 263 | | <STRING_LITERAL: "\'" (<EscapeQuot> | <EscapeApos> | <EscapeBslash> | <EscapeSlash> | <EscapeBspace> | <EscapeFormf> | <EscapeNl> | <EscapeCr> | <EscapeTab> | ~["\'","\\"])* "\'"> |
| 264 | | <#EscapeQuot: "\\\""> |
| 265 | | <#EscapeApos: "\\\'"> |
| 266 | | <#EscapeBslash: "\\\\"> |
| 267 | | <#EscapeSlash: "\\/"> |
| 268 | | <#EscapeBspace: "\\b"> |
| 269 | | <#EscapeFormf: "\\f"> |
| 270 | | <#EscapeNl: "\\n"> |
| 271 | | <#EscapeCr: "\\r"> |
| 272 | | <#EscapeTab: "\\t"> |
| 273 | } |
| 274 | |
| 275 | </PRE> |
| 276 | </TD> |
| 277 | </TR> |
| 278 | <!-- Token --> |
| 279 | <TR> |
| 280 | <TD> |
| 281 | <PRE> |
| 282 | <DEFAULT,IN_DBL_BRACE> TOKEN : { |
| 283 | <IDENTIFIER: <LETTER> (<LETTER> | <DIGIT> | <SPECIALCHARS>)*> |
| 284 | } |
| 285 | |
| 286 | </PRE> |
| 287 | </TD> |
| 288 | </TR> |
| 289 | <!-- Token --> |
| 290 | <TR> |
| 291 | <TD> |
| 292 | <PRE> |
| 293 | <DEFAULT,IN_DBL_BRACE> SKIP : { |
| 294 | " " |
| 295 | | "\t" |
| 296 | | "\r" |
| 297 | | "\n" |
| 298 | } |
| 299 | |
| 300 | </PRE> |
| 301 | </TD> |
| 302 | </TR> |
| 303 | <!-- Token --> |
| 304 | <TR> |
| 305 | <TD> |
| 306 | <PRE> |
| 307 | <DEFAULT,IN_DBL_BRACE> SKIP : { |
| 308 | <"//" (~["\n"])* "\n"> |
| 309 | } |
| 310 | |
| 311 | </PRE> |
| 312 | </TD> |
| 313 | </TR> |
| 314 | <!-- Token --> |
| 315 | <TR> |
| 316 | <TD> |
| 317 | <PRE> |
| 318 | <DEFAULT,IN_DBL_BRACE> SKIP : { |
| 319 | <"//" (~["\n","\r"])* ("\n" | "\r" | "\r\n")?> |
| 320 | } |
| 321 | |
| 322 | </PRE> |
| 323 | </TD> |
| 324 | </TR> |
| 325 | <!-- Token --> |
| 326 | <TR> |
| 327 | <TD> |
| 328 | <PRE> |
| 329 | <DEFAULT,IN_DBL_BRACE> SKIP : { |
| 330 | "/*" : INSIDE_COMMENT |
| 331 | } |
| 332 | |
| 333 | </PRE> |
| 334 | </TD> |
| 335 | </TR> |
| 336 | <!-- Token --> |
| 337 | <TR> |
| 338 | <TD> |
| 339 | <PRE> |
| 340 | <INSIDE_COMMENT> SPECIAL : { |
| 341 | <"+" (" ")* (~["*"])*> |
| 342 | } |
| 343 | |
| 344 | </PRE> |
| 345 | </TD> |
| 346 | </TR> |
| 347 | <!-- Token --> |
| 348 | <TR> |
| 349 | <TD> |
| 350 | <PRE> |
| 351 | <INSIDE_COMMENT> SKIP : { |
| 352 | "/*" : { |
| 353 | } |
| 354 | |
| 355 | </PRE> |
| 356 | </TD> |
| 357 | </TR> |
| 358 | <!-- Token --> |
| 359 | <TR> |
| 360 | <TD> |
| 361 | <PRE> |
| 362 | <INSIDE_COMMENT> SKIP : { |
| 363 | "*/" : { |
| 364 | | <~[]> |
| 365 | } |
| 366 | |
| 367 | </PRE> |
| 368 | </TD> |
| 369 | </TR> |
| 370 | </TABLE> |
| 371 | <H2 ALIGN=CENTER>NON-TERMINALS</H2> |
| 372 | <TABLE> |
| 373 | <TR> |
| 374 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod1">Statement</A></TD> |
| 375 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 376 | <TD ALIGN=LEFT VALIGN=BASELINE>( <A HREF="#prod2">SingleStatement</A> ( <SEMICOLON> )* )* <EOF></TD> |
| 377 | </TR> |
| 378 | <TR> |
| 379 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod2">SingleStatement</A></TD> |
| 380 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 381 | <TD ALIGN=LEFT VALIGN=BASELINE>( <A HREF="#prod3">DataverseDeclaration</A> | <A HREF="#prod4">FunctionDeclaration</A> | <A HREF="#prod5">CreateStatement</A> | <A HREF="#prod6">LoadStatement</A> | <A HREF="#prod7">DropStatement</A> | <A HREF="#prod8">WriteStatement</A> | <A HREF="#prod9">SetStatement</A> | <A HREF="#prod10">InsertStatement</A> | <A HREF="#prod11">DeleteStatement</A> | <A HREF="#prod12">UpdateStatement</A> | <A HREF="#prod13">FeedStatement</A> | <A HREF="#prod14">CompactStatement</A> | <A HREF="#prod15">Query</A> <SEMICOLON> | <A HREF="#prod16">RefreshExternalDatasetStatement</A> | <A HREF="#prod17">RunStatement</A> )</TD> |
| 382 | </TR> |
| 383 | <TR> |
| 384 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod3">DataverseDeclaration</A></TD> |
| 385 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 386 | <TD ALIGN=LEFT VALIGN=BASELINE><USE> <A HREF="#prod18">Identifier</A></TD> |
| 387 | </TR> |
| 388 | <TR> |
| 389 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod5">CreateStatement</A></TD> |
| 390 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 391 | <TD ALIGN=LEFT VALIGN=BASELINE><CREATE> ( <A HREF="#prod19">TypeSpecification</A> | <A HREF="#prod20">NodegroupSpecification</A> | <A HREF="#prod21">DatasetSpecification</A> | <A HREF="#prod22">IndexSpecification</A> | <A HREF="#prod23">DataverseSpecification</A> | <A HREF="#prod24">FunctionSpecification</A> | <A HREF="#prod25">FeedSpecification</A> | <A HREF="#prod26">FeedPolicySpecification</A> )</TD> |
| 392 | </TR> |
| 393 | <TR> |
| 394 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod19">TypeSpecification</A></TD> |
| 395 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 396 | <TD ALIGN=LEFT VALIGN=BASELINE><TYPE> <A HREF="#prod27">TypeName</A> <A HREF="#prod28">IfNotExists</A> <AS> <A HREF="#prod29">TypeExpr</A></TD> |
| 397 | </TR> |
| 398 | <TR> |
| 399 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod20">NodegroupSpecification</A></TD> |
| 400 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 401 | <TD ALIGN=LEFT VALIGN=BASELINE><NODEGROUP> <A HREF="#prod18">Identifier</A> <A HREF="#prod28">IfNotExists</A> <ON> <A HREF="#prod18">Identifier</A> ( <COMMA> <A HREF="#prod18">Identifier</A> )*</TD> |
| 402 | </TR> |
| 403 | <TR> |
| 404 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod21">DatasetSpecification</A></TD> |
| 405 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
Yingyi Bu | c9bfe25 | 2016-03-01 00:02:40 -0800 | [diff] [blame^] | 406 | <TD ALIGN=LEFT VALIGN=BASELINE>( <EXTERNAL> <DATASET> <A HREF="#prod30">QualifiedName</A> <LEFTPAREN> <A HREF="#prod27">TypeName</A> <RIGHTPAREN> <A HREF="#prod28">IfNotExists</A> <USING> <A HREF="#prod31">AdapterName</A> <A HREF="#prod32">Configuration</A> ( <ON> <A HREF="#prod18">Identifier</A> )? ( <HINTS> <A HREF="#prod33">Properties</A> )? ( <USING> <COMPACTION> <POLICY> <A HREF="#prod34">CompactionPolicy</A> ( <A HREF="#prod32">Configuration</A> )? )? | ( <INTERNAL> | <TEMPORARY> )? <DATASET> <A HREF="#prod30">QualifiedName</A> <LEFTPAREN> <A HREF="#prod27">TypeName</A> <RIGHTPAREN> ( <WITH> <A HREF="#prod18">Identifier</A> <LEFTPAREN> <A HREF="#prod27">TypeName</A> <RIGHTPAREN> )? <A HREF="#prod28">IfNotExists</A> <A HREF="#prod35">PrimaryKey</A> ( <AUTOGENERATED> )? ( <ON> <A HREF="#prod18">Identifier</A> )? ( <HINTS> <A HREF="#prod33">Properties</A> )? ( <USING> <COMPACTION> <POLICY> <A HREF="#prod34">CompactionPolicy</A> ( <A HREF="#prod32">Configuration</A> )? )? ( <WITH> <FILTER> <ON> <A HREF="#prod36">NestedField</A> )? )</TD> |
Yingyi Bu | 391f09e | 2015-10-29 13:49:39 -0700 | [diff] [blame] | 407 | </TR> |
| 408 | <TR> |
| 409 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod16">RefreshExternalDatasetStatement</A></TD> |
| 410 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 411 | <TD ALIGN=LEFT VALIGN=BASELINE><REFRESH> <EXTERNAL> <DATASET> <A HREF="#prod30">QualifiedName</A></TD> |
| 412 | </TR> |
| 413 | <TR> |
| 414 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod17">RunStatement</A></TD> |
| 415 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 416 | <TD ALIGN=LEFT VALIGN=BASELINE><RUN> <A HREF="#prod18">Identifier</A> <LEFTPAREN> ( <A HREF="#prod18">Identifier</A> ( <COMMA> )? )* <RIGHTPAREN> <FROM> <DATASET> <A HREF="#prod30">QualifiedName</A> <TO> <DATASET> <A HREF="#prod30">QualifiedName</A></TD> |
| 417 | </TR> |
| 418 | <TR> |
| 419 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod22">IndexSpecification</A></TD> |
| 420 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 421 | <TD ALIGN=LEFT VALIGN=BASELINE><INDEX> <A HREF="#prod18">Identifier</A> <A HREF="#prod28">IfNotExists</A> <ON> <A HREF="#prod30">QualifiedName</A> <LEFTPAREN> ( <A HREF="#prod37">OpenField</A> ) ( <COMMA> <A HREF="#prod37">OpenField</A> )* <RIGHTPAREN> ( <TYPE> <A HREF="#prod38">IndexType</A> )? ( <ENFORCED> )?</TD> |
| 422 | </TR> |
| 423 | <TR> |
| 424 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod34">CompactionPolicy</A></TD> |
| 425 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 426 | <TD ALIGN=LEFT VALIGN=BASELINE><A HREF="#prod18">Identifier</A></TD> |
| 427 | </TR> |
| 428 | <TR> |
| 429 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod39">FilterField</A></TD> |
| 430 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 431 | <TD ALIGN=LEFT VALIGN=BASELINE><A HREF="#prod18">Identifier</A></TD> |
| 432 | </TR> |
| 433 | <TR> |
| 434 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod38">IndexType</A></TD> |
| 435 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 436 | <TD ALIGN=LEFT VALIGN=BASELINE>( <BTREE> | <RTREE> | <KEYWORD> | <NGRAM> <LEFTPAREN> <INTEGER_LITERAL> <RIGHTPAREN> )</TD> |
| 437 | </TR> |
| 438 | <TR> |
| 439 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod23">DataverseSpecification</A></TD> |
| 440 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 441 | <TD ALIGN=LEFT VALIGN=BASELINE><DATAVERSE> <A HREF="#prod18">Identifier</A> <A HREF="#prod28">IfNotExists</A> ( <WITH> <FORMAT> <A HREF="#prod40">QuotedString</A> )?</TD> |
| 442 | </TR> |
| 443 | <TR> |
| 444 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod24">FunctionSpecification</A></TD> |
| 445 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 446 | <TD ALIGN=LEFT VALIGN=BASELINE><FUNCTION> <A HREF="#prod41">FunctionName</A> <A HREF="#prod28">IfNotExists</A> <A HREF="#prod42">ParameterList</A> <LEFTBRACE> <A HREF="#prod43">Expression</A> <RIGHTBRACE></TD> |
| 447 | </TR> |
| 448 | <TR> |
| 449 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod25">FeedSpecification</A></TD> |
| 450 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 451 | <TD ALIGN=LEFT VALIGN=BASELINE>( <SECONDARY> <FEED> <A HREF="#prod30">QualifiedName</A> <A HREF="#prod28">IfNotExists</A> <FROM> <FEED> <A HREF="#prod30">QualifiedName</A> ( <A HREF="#prod44">ApplyFunction</A> )? | ( <PRIMARY> )? <FEED> <A HREF="#prod30">QualifiedName</A> <A HREF="#prod28">IfNotExists</A> <USING> <A HREF="#prod31">AdapterName</A> <A HREF="#prod32">Configuration</A> ( <A HREF="#prod44">ApplyFunction</A> )? )</TD> |
| 452 | </TR> |
| 453 | <TR> |
| 454 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod26">FeedPolicySpecification</A></TD> |
| 455 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 456 | <TD ALIGN=LEFT VALIGN=BASELINE>( <INGESTION> <POLICY> <A HREF="#prod18">Identifier</A> <A HREF="#prod28">IfNotExists</A> <FROM> ( <POLICY> <A HREF="#prod18">Identifier</A> <A HREF="#prod32">Configuration</A> ( <DEFINITION> <A HREF="#prod40">QuotedString</A> )? | <PATH> <A HREF="#prod18">Identifier</A> ( <DEFINITION> <A HREF="#prod40">QuotedString</A> )? ) )</TD> |
| 457 | </TR> |
| 458 | <TR> |
| 459 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod42">ParameterList</A></TD> |
| 460 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 461 | <TD ALIGN=LEFT VALIGN=BASELINE><LEFTPAREN> ( <IDENTIFIER> ( <COMMA> <IDENTIFIER> )* )? <RIGHTPAREN></TD> |
| 462 | </TR> |
| 463 | <TR> |
| 464 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod28">IfNotExists</A></TD> |
| 465 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 466 | <TD ALIGN=LEFT VALIGN=BASELINE>( <IF> ( "not exists" | "NOT EXISTS" ) )?</TD> |
| 467 | </TR> |
| 468 | <TR> |
| 469 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod44">ApplyFunction</A></TD> |
| 470 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 471 | <TD ALIGN=LEFT VALIGN=BASELINE><APPLY> <FUNCTION> <A HREF="#prod41">FunctionName</A></TD> |
| 472 | </TR> |
| 473 | <TR> |
| 474 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod45">GetPolicy</A></TD> |
| 475 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 476 | <TD ALIGN=LEFT VALIGN=BASELINE><USING> <POLICY> <A HREF="#prod18">Identifier</A></TD> |
| 477 | </TR> |
| 478 | <TR> |
| 479 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod46">FunctionSignature</A></TD> |
| 480 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 481 | <TD ALIGN=LEFT VALIGN=BASELINE><A HREF="#prod41">FunctionName</A> <ATT> <INTEGER_LITERAL></TD> |
| 482 | </TR> |
| 483 | <TR> |
| 484 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod35">PrimaryKey</A></TD> |
| 485 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 486 | <TD ALIGN=LEFT VALIGN=BASELINE><PRIMARY> <KEY> <A HREF="#prod36">NestedField</A> ( <COMMA> <A HREF="#prod36">NestedField</A> )*</TD> |
| 487 | </TR> |
| 488 | <TR> |
| 489 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod7">DropStatement</A></TD> |
| 490 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 491 | <TD ALIGN=LEFT VALIGN=BASELINE><DROP> ( <DATASET> <A HREF="#prod30">QualifiedName</A> <A HREF="#prod47">IfExists</A> | <INDEX> <A HREF="#prod48">DoubleQualifiedName</A> <A HREF="#prod47">IfExists</A> | <NODEGROUP> <A HREF="#prod18">Identifier</A> <A HREF="#prod47">IfExists</A> | <TYPE> <A HREF="#prod27">TypeName</A> <A HREF="#prod47">IfExists</A> | <DATAVERSE> <A HREF="#prod18">Identifier</A> <A HREF="#prod47">IfExists</A> | <FUNCTION> <A HREF="#prod46">FunctionSignature</A> <A HREF="#prod47">IfExists</A> | <FEED> <A HREF="#prod30">QualifiedName</A> <A HREF="#prod47">IfExists</A> )</TD> |
| 492 | </TR> |
| 493 | <TR> |
| 494 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod47">IfExists</A></TD> |
| 495 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 496 | <TD ALIGN=LEFT VALIGN=BASELINE>( <IF> <EXISTS> )?</TD> |
| 497 | </TR> |
| 498 | <TR> |
| 499 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod10">InsertStatement</A></TD> |
| 500 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 501 | <TD ALIGN=LEFT VALIGN=BASELINE><INSERT> <INTO> <A HREF="#prod30">QualifiedName</A> <A HREF="#prod15">Query</A></TD> |
| 502 | </TR> |
| 503 | <TR> |
| 504 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod11">DeleteStatement</A></TD> |
| 505 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 506 | <TD ALIGN=LEFT VALIGN=BASELINE><DELETE> <A HREF="#prod49">Variable</A> <FROM> <A HREF="#prod30">QualifiedName</A> ( <WHERE> <A HREF="#prod43">Expression</A> )?</TD> |
| 507 | </TR> |
| 508 | <TR> |
| 509 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod12">UpdateStatement</A></TD> |
| 510 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 511 | <TD ALIGN=LEFT VALIGN=BASELINE><UPDATE> <A HREF="#prod49">Variable</A> <IN> <A HREF="#prod43">Expression</A> <WHERE> <A HREF="#prod43">Expression</A> <LEFTPAREN> ( <A HREF="#prod50">UpdateClause</A> ( <COMMA> <A HREF="#prod50">UpdateClause</A> )* ) <RIGHTPAREN></TD> |
| 512 | </TR> |
| 513 | <TR> |
| 514 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod50">UpdateClause</A></TD> |
| 515 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 516 | <TD ALIGN=LEFT VALIGN=BASELINE>( <SET> <A HREF="#prod43">Expression</A> <EQ> <A HREF="#prod43">Expression</A> | <A HREF="#prod10">InsertStatement</A> | <A HREF="#prod11">DeleteStatement</A> | <A HREF="#prod12">UpdateStatement</A> | <IF> <LEFTPAREN> <A HREF="#prod43">Expression</A> <RIGHTPAREN> <THEN> <A HREF="#prod50">UpdateClause</A> ( <ELSE> <A HREF="#prod50">UpdateClause</A> )? )</TD> |
| 517 | </TR> |
| 518 | <TR> |
| 519 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod9">SetStatement</A></TD> |
| 520 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 521 | <TD ALIGN=LEFT VALIGN=BASELINE><SET> <A HREF="#prod18">Identifier</A> <A HREF="#prod40">QuotedString</A></TD> |
| 522 | </TR> |
| 523 | <TR> |
| 524 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod8">WriteStatement</A></TD> |
| 525 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 526 | <TD ALIGN=LEFT VALIGN=BASELINE><WRITE> <OUTPUT> <TO> <A HREF="#prod18">Identifier</A> <COLON> <A HREF="#prod40">QuotedString</A> ( <USING> <A HREF="#prod40">QuotedString</A> )?</TD> |
| 527 | </TR> |
| 528 | <TR> |
| 529 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod6">LoadStatement</A></TD> |
| 530 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 531 | <TD ALIGN=LEFT VALIGN=BASELINE><LOAD> <DATASET> <A HREF="#prod30">QualifiedName</A> <USING> <A HREF="#prod31">AdapterName</A> <A HREF="#prod32">Configuration</A> ( <PRESORTED> )?</TD> |
| 532 | </TR> |
| 533 | <TR> |
| 534 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod31">AdapterName</A></TD> |
| 535 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 536 | <TD ALIGN=LEFT VALIGN=BASELINE><A HREF="#prod18">Identifier</A></TD> |
| 537 | </TR> |
| 538 | <TR> |
| 539 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod14">CompactStatement</A></TD> |
| 540 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 541 | <TD ALIGN=LEFT VALIGN=BASELINE><COMPACT> <DATASET> <A HREF="#prod30">QualifiedName</A></TD> |
| 542 | </TR> |
| 543 | <TR> |
| 544 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod13">FeedStatement</A></TD> |
| 545 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 546 | <TD ALIGN=LEFT VALIGN=BASELINE>( <CONNECT> <FEED> <A HREF="#prod30">QualifiedName</A> <TO> <DATASET> <A HREF="#prod30">QualifiedName</A> ( <A HREF="#prod45">GetPolicy</A> )? | <DISCONNECT> <FEED> <A HREF="#prod30">QualifiedName</A> <FROM> <DATASET> <A HREF="#prod30">QualifiedName</A> )</TD> |
| 547 | </TR> |
| 548 | <TR> |
| 549 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod32">Configuration</A></TD> |
| 550 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 551 | <TD ALIGN=LEFT VALIGN=BASELINE><LEFTPAREN> ( <A HREF="#prod51">KeyValuePair</A> ( <COMMA> <A HREF="#prod51">KeyValuePair</A> )* )? <RIGHTPAREN></TD> |
| 552 | </TR> |
| 553 | <TR> |
| 554 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod51">KeyValuePair</A></TD> |
| 555 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 556 | <TD ALIGN=LEFT VALIGN=BASELINE><LEFTPAREN> <A HREF="#prod40">QuotedString</A> <EQ> <A HREF="#prod40">QuotedString</A> <RIGHTPAREN></TD> |
| 557 | </TR> |
| 558 | <TR> |
| 559 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod33">Properties</A></TD> |
| 560 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 561 | <TD ALIGN=LEFT VALIGN=BASELINE>( <LEFTPAREN> <A HREF="#prod52">Property</A> ( <COMMA> <A HREF="#prod52">Property</A> )* <RIGHTPAREN> )?</TD> |
| 562 | </TR> |
| 563 | <TR> |
| 564 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod52">Property</A></TD> |
| 565 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 566 | <TD ALIGN=LEFT VALIGN=BASELINE><A HREF="#prod18">Identifier</A> <EQ> ( <A HREF="#prod40">QuotedString</A> | <INTEGER_LITERAL> )</TD> |
| 567 | </TR> |
| 568 | <TR> |
| 569 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod53">IndexedTypeExpr</A></TD> |
| 570 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 571 | <TD ALIGN=LEFT VALIGN=BASELINE>( <A HREF="#prod54">TypeReference</A> | <A HREF="#prod55">OrderedListTypeDef</A> | <A HREF="#prod56">UnorderedListTypeDef</A> )</TD> |
| 572 | </TR> |
| 573 | <TR> |
| 574 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod29">TypeExpr</A></TD> |
| 575 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 576 | <TD ALIGN=LEFT VALIGN=BASELINE>( <A HREF="#prod57">RecordTypeDef</A> | <A HREF="#prod54">TypeReference</A> | <A HREF="#prod55">OrderedListTypeDef</A> | <A HREF="#prod56">UnorderedListTypeDef</A> )</TD> |
| 577 | </TR> |
| 578 | <TR> |
| 579 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod57">RecordTypeDef</A></TD> |
| 580 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 581 | <TD ALIGN=LEFT VALIGN=BASELINE>( <CLOSED> | <OPEN> )? <LEFTBRACE> ( <A HREF="#prod58">RecordField</A> ( <COMMA> <A HREF="#prod58">RecordField</A> )* )? <RIGHTBRACE></TD> |
| 582 | </TR> |
| 583 | <TR> |
| 584 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod58">RecordField</A></TD> |
| 585 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 586 | <TD ALIGN=LEFT VALIGN=BASELINE><A HREF="#prod18">Identifier</A> <COLON> <A HREF="#prod29">TypeExpr</A> ( <QUES> )?</TD> |
| 587 | </TR> |
| 588 | <TR> |
| 589 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod54">TypeReference</A></TD> |
| 590 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 591 | <TD ALIGN=LEFT VALIGN=BASELINE><A HREF="#prod18">Identifier</A></TD> |
| 592 | </TR> |
| 593 | <TR> |
| 594 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod55">OrderedListTypeDef</A></TD> |
| 595 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 596 | <TD ALIGN=LEFT VALIGN=BASELINE><LEFTBRACKET> ( <A HREF="#prod29">TypeExpr</A> ) <RIGHTBRACKET></TD> |
| 597 | </TR> |
| 598 | <TR> |
| 599 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod56">UnorderedListTypeDef</A></TD> |
| 600 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 601 | <TD ALIGN=LEFT VALIGN=BASELINE><LEFTDBLBRACE> ( <A HREF="#prod29">TypeExpr</A> ) <RIGHTDBLBRACE></TD> |
| 602 | </TR> |
| 603 | <TR> |
| 604 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod41">FunctionName</A></TD> |
| 605 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 606 | <TD ALIGN=LEFT VALIGN=BASELINE><A HREF="#prod18">Identifier</A> ( <DOT> <A HREF="#prod18">Identifier</A> ( <SHARP> <A HREF="#prod18">Identifier</A> )? | <SHARP> <A HREF="#prod18">Identifier</A> )?</TD> |
| 607 | </TR> |
| 608 | <TR> |
| 609 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod27">TypeName</A></TD> |
| 610 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 611 | <TD ALIGN=LEFT VALIGN=BASELINE><A HREF="#prod30">QualifiedName</A></TD> |
| 612 | </TR> |
| 613 | <TR> |
| 614 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod18">Identifier</A></TD> |
| 615 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 616 | <TD ALIGN=LEFT VALIGN=BASELINE>( <IDENTIFIER> | <A HREF="#prod40">QuotedString</A> )</TD> |
| 617 | </TR> |
| 618 | <TR> |
| 619 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod37">OpenField</A></TD> |
| 620 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 621 | <TD ALIGN=LEFT VALIGN=BASELINE><A HREF="#prod36">NestedField</A> ( <COLON> <A HREF="#prod53">IndexedTypeExpr</A> )?</TD> |
| 622 | </TR> |
| 623 | <TR> |
| 624 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod36">NestedField</A></TD> |
| 625 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
Yingyi Bu | c9bfe25 | 2016-03-01 00:02:40 -0800 | [diff] [blame^] | 626 | <TD ALIGN=LEFT VALIGN=BASELINE><A HREF="#prod18">Identifier</A> ( <LEFTPAREN> <RIGHTPAREN> )? ( <DOT> <A HREF="#prod18">Identifier</A> )*</TD> |
Yingyi Bu | 391f09e | 2015-10-29 13:49:39 -0700 | [diff] [blame] | 627 | </TR> |
| 628 | <TR> |
| 629 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod40">QuotedString</A></TD> |
| 630 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 631 | <TD ALIGN=LEFT VALIGN=BASELINE><QUOTED_STRING></TD> |
| 632 | </TR> |
| 633 | <TR> |
| 634 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod59">StringLiteral</A></TD> |
| 635 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 636 | <TD ALIGN=LEFT VALIGN=BASELINE><STRING_LITERAL></TD> |
| 637 | </TR> |
| 638 | <TR> |
| 639 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod30">QualifiedName</A></TD> |
| 640 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 641 | <TD ALIGN=LEFT VALIGN=BASELINE><A HREF="#prod18">Identifier</A> ( <DOT> <A HREF="#prod18">Identifier</A> )?</TD> |
| 642 | </TR> |
| 643 | <TR> |
| 644 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod48">DoubleQualifiedName</A></TD> |
| 645 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 646 | <TD ALIGN=LEFT VALIGN=BASELINE><A HREF="#prod18">Identifier</A> <DOT> <A HREF="#prod18">Identifier</A> ( <DOT> <A HREF="#prod18">Identifier</A> )?</TD> |
| 647 | </TR> |
| 648 | <TR> |
| 649 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod4">FunctionDeclaration</A></TD> |
| 650 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 651 | <TD ALIGN=LEFT VALIGN=BASELINE><DECLARE> <FUNCTION> <A HREF="#prod18">Identifier</A> <A HREF="#prod42">ParameterList</A> <LEFTBRACE> <A HREF="#prod43">Expression</A> <RIGHTBRACE></TD> |
| 652 | </TR> |
| 653 | <TR> |
| 654 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod15">Query</A></TD> |
| 655 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 656 | <TD ALIGN=LEFT VALIGN=BASELINE>( <A HREF="#prod43">Expression</A> | <A HREF="#prod60">SelectExpression</A> )</TD> |
| 657 | </TR> |
| 658 | <TR> |
| 659 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod43">Expression</A></TD> |
| 660 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 661 | <TD ALIGN=LEFT VALIGN=BASELINE>( <A HREF="#prod61">OperatorExpr</A> | <A HREF="#prod62">IfThenElse</A> | <A HREF="#prod63">QuantifiedExpression</A> )</TD> |
| 662 | </TR> |
| 663 | <TR> |
| 664 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod61">OperatorExpr</A></TD> |
| 665 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 666 | <TD ALIGN=LEFT VALIGN=BASELINE><A HREF="#prod64">AndExpr</A> ( <OR> <A HREF="#prod64">AndExpr</A> )*</TD> |
| 667 | </TR> |
| 668 | <TR> |
| 669 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod64">AndExpr</A></TD> |
| 670 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 671 | <TD ALIGN=LEFT VALIGN=BASELINE><A HREF="#prod65">RelExpr</A> ( <AND> <A HREF="#prod65">RelExpr</A> )*</TD> |
| 672 | </TR> |
| 673 | <TR> |
| 674 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod65">RelExpr</A></TD> |
| 675 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 676 | <TD ALIGN=LEFT VALIGN=BASELINE><A HREF="#prod66">AddExpr</A> ( ( <LT> | <GT> | <LE> | <GE> | <EQ> | <NE> | <SIMILAR> ) <A HREF="#prod66">AddExpr</A> )?</TD> |
| 677 | </TR> |
| 678 | <TR> |
| 679 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod66">AddExpr</A></TD> |
| 680 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 681 | <TD ALIGN=LEFT VALIGN=BASELINE><A HREF="#prod67">MultExpr</A> ( ( <PLUS> | <MINUS> ) <A HREF="#prod67">MultExpr</A> )*</TD> |
| 682 | </TR> |
| 683 | <TR> |
| 684 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod67">MultExpr</A></TD> |
| 685 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 686 | <TD ALIGN=LEFT VALIGN=BASELINE><A HREF="#prod68">UnaryExpr</A> ( ( <MUL> | <DIV> | <MOD> | <CARET> | <IDIV> ) <A HREF="#prod68">UnaryExpr</A> )*</TD> |
| 687 | </TR> |
| 688 | <TR> |
| 689 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod68">UnaryExpr</A></TD> |
| 690 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 691 | <TD ALIGN=LEFT VALIGN=BASELINE>( ( <PLUS> | <MINUS> ) )? <A HREF="#prod69">ValueExpr</A></TD> |
| 692 | </TR> |
| 693 | <TR> |
| 694 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod69">ValueExpr</A></TD> |
| 695 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 696 | <TD ALIGN=LEFT VALIGN=BASELINE><A HREF="#prod70">PrimaryExpr</A> ( <A HREF="#prod71">Field</A> | <A HREF="#prod72">Index</A> )*</TD> |
| 697 | </TR> |
| 698 | <TR> |
| 699 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod71">Field</A></TD> |
| 700 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 701 | <TD ALIGN=LEFT VALIGN=BASELINE><DOT> <A HREF="#prod18">Identifier</A></TD> |
| 702 | </TR> |
| 703 | <TR> |
| 704 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod72">Index</A></TD> |
| 705 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 706 | <TD ALIGN=LEFT VALIGN=BASELINE><LEFTBRACKET> ( <A HREF="#prod43">Expression</A> | <QUES> ) <RIGHTBRACKET></TD> |
| 707 | </TR> |
| 708 | <TR> |
| 709 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod70">PrimaryExpr</A></TD> |
| 710 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 711 | <TD ALIGN=LEFT VALIGN=BASELINE>( <A HREF="#prod73">FunctionCallExpr</A> | <A HREF="#prod74">Literal</A> | <A HREF="#prod75">VariableRef</A> | <A HREF="#prod76">ListConstructor</A> | <A HREF="#prod77">RecordConstructor</A> | <A HREF="#prod78">ParenthesizedExpression</A> )</TD> |
| 712 | </TR> |
| 713 | <TR> |
| 714 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod74">Literal</A></TD> |
| 715 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 716 | <TD ALIGN=LEFT VALIGN=BASELINE>( <A HREF="#prod59">StringLiteral</A> | <INTEGER_LITERAL> | <FLOAT_LITERAL> | <DOUBLE_LITERAL> | <NULL> | <TRUE> | <FALSE> )</TD> |
| 717 | </TR> |
| 718 | <TR> |
| 719 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod75">VariableRef</A></TD> |
| 720 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 721 | <TD ALIGN=LEFT VALIGN=BASELINE>( <IDENTIFIER> | <A HREF="#prod40">QuotedString</A> )</TD> |
| 722 | </TR> |
| 723 | <TR> |
| 724 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod49">Variable</A></TD> |
| 725 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 726 | <TD ALIGN=LEFT VALIGN=BASELINE>( <IDENTIFIER> | <A HREF="#prod40">QuotedString</A> )</TD> |
| 727 | </TR> |
| 728 | <TR> |
| 729 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod76">ListConstructor</A></TD> |
| 730 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 731 | <TD ALIGN=LEFT VALIGN=BASELINE>( <A HREF="#prod79">OrderedListConstructor</A> | <A HREF="#prod80">UnorderedListConstructor</A> )</TD> |
| 732 | </TR> |
| 733 | <TR> |
| 734 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod79">OrderedListConstructor</A></TD> |
| 735 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 736 | <TD ALIGN=LEFT VALIGN=BASELINE><LEFTBRACKET> <A HREF="#prod81">ExpressionList</A> <RIGHTBRACKET></TD> |
| 737 | </TR> |
| 738 | <TR> |
| 739 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod80">UnorderedListConstructor</A></TD> |
| 740 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 741 | <TD ALIGN=LEFT VALIGN=BASELINE><LEFTDBLBRACE> <A HREF="#prod81">ExpressionList</A> <RIGHTDBLBRACE></TD> |
| 742 | </TR> |
| 743 | <TR> |
| 744 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod81">ExpressionList</A></TD> |
| 745 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 746 | <TD ALIGN=LEFT VALIGN=BASELINE>( <A HREF="#prod43">Expression</A> ( <COMMA> <A HREF="#prod81">ExpressionList</A> )? )? ( <A HREF="#prod82">Comma</A> )?</TD> |
| 747 | </TR> |
| 748 | <TR> |
| 749 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod82">Comma</A></TD> |
| 750 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 751 | <TD ALIGN=LEFT VALIGN=BASELINE><COMMA></TD> |
| 752 | </TR> |
| 753 | <TR> |
| 754 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod77">RecordConstructor</A></TD> |
| 755 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 756 | <TD ALIGN=LEFT VALIGN=BASELINE><LEFTBRACE> ( <A HREF="#prod83">FieldBinding</A> ( <COMMA> <A HREF="#prod83">FieldBinding</A> )* )? <RIGHTBRACE></TD> |
| 757 | </TR> |
| 758 | <TR> |
| 759 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod83">FieldBinding</A></TD> |
| 760 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 761 | <TD ALIGN=LEFT VALIGN=BASELINE><A HREF="#prod43">Expression</A> <COLON> <A HREF="#prod43">Expression</A></TD> |
| 762 | </TR> |
| 763 | <TR> |
| 764 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod73">FunctionCallExpr</A></TD> |
| 765 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 766 | <TD ALIGN=LEFT VALIGN=BASELINE><A HREF="#prod41">FunctionName</A> <LEFTPAREN> ( <A HREF="#prod43">Expression</A> ( <COMMA> <A HREF="#prod43">Expression</A> )* )? <RIGHTPAREN></TD> |
| 767 | </TR> |
| 768 | <TR> |
| 769 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod78">ParenthesizedExpression</A></TD> |
| 770 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 771 | <TD ALIGN=LEFT VALIGN=BASELINE>( <LEFTPAREN> <A HREF="#prod43">Expression</A> <RIGHTPAREN> | <A HREF="#prod84">Subquery</A> )</TD> |
| 772 | </TR> |
| 773 | <TR> |
| 774 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod62">IfThenElse</A></TD> |
| 775 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 776 | <TD ALIGN=LEFT VALIGN=BASELINE><IF> <LEFTPAREN> <A HREF="#prod43">Expression</A> <RIGHTPAREN> <THEN> <A HREF="#prod43">Expression</A> <ELSE> <A HREF="#prod43">Expression</A></TD> |
| 777 | </TR> |
| 778 | <TR> |
| 779 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod60">SelectExpression</A></TD> |
| 780 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 781 | <TD ALIGN=LEFT VALIGN=BASELINE>( <A HREF="#prod85">LetClause</A> )? <A HREF="#prod86">SelectSetOperation</A> ( <A HREF="#prod87">OrderbyClause</A> )? ( <A HREF="#prod88">LimitClause</A> )?</TD> |
| 782 | </TR> |
| 783 | <TR> |
| 784 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod86">SelectSetOperation</A></TD> |
| 785 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 786 | <TD ALIGN=LEFT VALIGN=BASELINE><A HREF="#prod89">SelectBlock</A> ( ( <UNION> | <INTERSECT> | <EXCEPT> ) ( <ALL> )? ( <A HREF="#prod89">SelectBlock</A> | <A HREF="#prod84">Subquery</A> ) )*</TD> |
| 787 | </TR> |
| 788 | <TR> |
| 789 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod84">Subquery</A></TD> |
| 790 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 791 | <TD ALIGN=LEFT VALIGN=BASELINE><LEFTPAREN> <A HREF="#prod60">SelectExpression</A> <RIGHTPAREN></TD> |
| 792 | </TR> |
| 793 | <TR> |
| 794 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod89">SelectBlock</A></TD> |
| 795 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 796 | <TD ALIGN=LEFT VALIGN=BASELINE>( <A HREF="#prod90">SelectClause</A> ( <A HREF="#prod91">FromClause</A> ( <A HREF="#prod85">LetClause</A> )? )? ( <A HREF="#prod92">WhereClause</A> )? ( <A HREF="#prod93">GroupbyClause</A> ( <A HREF="#prod85">LetClause</A> )? ( <A HREF="#prod94">HavingClause</A> )? )? | <A HREF="#prod91">FromClause</A> ( <A HREF="#prod85">LetClause</A> )? ( <A HREF="#prod92">WhereClause</A> )? ( <A HREF="#prod93">GroupbyClause</A> ( <A HREF="#prod85">LetClause</A> )? ( <A HREF="#prod94">HavingClause</A> )? )? <A HREF="#prod90">SelectClause</A> )</TD> |
| 797 | </TR> |
| 798 | <TR> |
| 799 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod90">SelectClause</A></TD> |
| 800 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 801 | <TD ALIGN=LEFT VALIGN=BASELINE><SELECT> ( <ALL> | <DISTINCT> )? ( <A HREF="#prod95">SelectRegular</A> | <A HREF="#prod96">SelectElement</A> )</TD> |
| 802 | </TR> |
| 803 | <TR> |
| 804 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod95">SelectRegular</A></TD> |
| 805 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 806 | <TD ALIGN=LEFT VALIGN=BASELINE><A HREF="#prod97">Projection</A> ( <COMMA> <A HREF="#prod97">Projection</A> )*</TD> |
| 807 | </TR> |
| 808 | <TR> |
| 809 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod96">SelectElement</A></TD> |
| 810 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 811 | <TD ALIGN=LEFT VALIGN=BASELINE>( <RAW> | <ELEMENT> | <VALUE> ) <A HREF="#prod43">Expression</A></TD> |
| 812 | </TR> |
| 813 | <TR> |
| 814 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod97">Projection</A></TD> |
| 815 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 816 | <TD ALIGN=LEFT VALIGN=BASELINE>( <A HREF="#prod43">Expression</A> ( <AS> )? <A HREF="#prod18">Identifier</A> | <A HREF="#prod43">Expression</A> <DOT> <MUL> | <MUL> )</TD> |
| 817 | </TR> |
| 818 | <TR> |
| 819 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod91">FromClause</A></TD> |
| 820 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 821 | <TD ALIGN=LEFT VALIGN=BASELINE><FROM> <A HREF="#prod98">FromTerm</A> ( <COMMA> <A HREF="#prod98">FromTerm</A> )*</TD> |
| 822 | </TR> |
| 823 | <TR> |
| 824 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod98">FromTerm</A></TD> |
| 825 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 826 | <TD ALIGN=LEFT VALIGN=BASELINE><A HREF="#prod43">Expression</A> ( <AS> )? <A HREF="#prod49">Variable</A> ( <AT> <A HREF="#prod49">Variable</A> )? ( ( <A HREF="#prod99">JoinType</A> )? ( <A HREF="#prod100">JoinClause</A> | <A HREF="#prod101">NestClause</A> | <A HREF="#prod102">UnnestClause</A> ) )*</TD> |
| 827 | </TR> |
| 828 | <TR> |
| 829 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod100">JoinClause</A></TD> |
| 830 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 831 | <TD ALIGN=LEFT VALIGN=BASELINE><JOIN> <A HREF="#prod43">Expression</A> ( <AS> )? <A HREF="#prod49">Variable</A> ( <AT> <A HREF="#prod49">Variable</A> )? <ON> <A HREF="#prod43">Expression</A></TD> |
| 832 | </TR> |
| 833 | <TR> |
| 834 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod101">NestClause</A></TD> |
| 835 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 836 | <TD ALIGN=LEFT VALIGN=BASELINE><NEST> <A HREF="#prod43">Expression</A> ( <AS> )? <A HREF="#prod49">Variable</A> ( <AT> <A HREF="#prod49">Variable</A> )? <ON> <A HREF="#prod43">Expression</A></TD> |
| 837 | </TR> |
| 838 | <TR> |
| 839 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod102">UnnestClause</A></TD> |
| 840 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 841 | <TD ALIGN=LEFT VALIGN=BASELINE>( <UNNEST> | <CORRELATE> | <FLATTEN> ) <A HREF="#prod43">Expression</A> ( <AS> )? <A HREF="#prod49">Variable</A> ( <AT> <A HREF="#prod49">Variable</A> )?</TD> |
| 842 | </TR> |
| 843 | <TR> |
| 844 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod99">JoinType</A></TD> |
| 845 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 846 | <TD ALIGN=LEFT VALIGN=BASELINE>( <INNER> | <LEFT> ( <OUTER> )? )</TD> |
| 847 | </TR> |
| 848 | <TR> |
| 849 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod85">LetClause</A></TD> |
| 850 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 851 | <TD ALIGN=LEFT VALIGN=BASELINE>( ( <LET> | <LETTING> ) <A HREF="#prod103">LetElement</A> ( <COMMA> <A HREF="#prod103">LetElement</A> )* | <WITH> <A HREF="#prod104">WithElement</A> ( <COMMA> <A HREF="#prod104">WithElement</A> )* )</TD> |
| 852 | </TR> |
| 853 | <TR> |
| 854 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod92">WhereClause</A></TD> |
| 855 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 856 | <TD ALIGN=LEFT VALIGN=BASELINE><WHERE> <A HREF="#prod43">Expression</A></TD> |
| 857 | </TR> |
| 858 | <TR> |
| 859 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod87">OrderbyClause</A></TD> |
| 860 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 861 | <TD ALIGN=LEFT VALIGN=BASELINE><ORDER> <BY> <A HREF="#prod43">Expression</A> ( ( <ASC> ) | ( <DESC> ) )? ( <COMMA> <A HREF="#prod43">Expression</A> ( ( <ASC> ) | ( <DESC> ) )? )*</TD> |
| 862 | </TR> |
| 863 | <TR> |
| 864 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod93">GroupbyClause</A></TD> |
| 865 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 866 | <TD ALIGN=LEFT VALIGN=BASELINE><GROUP> <BY> ( <A HREF="#prod43">Expression</A> ( ( <AS> )? <A HREF="#prod49">Variable</A> )? ( <COMMA> <A HREF="#prod43">Expression</A> ( ( <AS> )? <A HREF="#prod49">Variable</A> )? )* )</TD> |
| 867 | </TR> |
| 868 | <TR> |
| 869 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod94">HavingClause</A></TD> |
| 870 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 871 | <TD ALIGN=LEFT VALIGN=BASELINE><HAVING> <A HREF="#prod43">Expression</A></TD> |
| 872 | </TR> |
| 873 | <TR> |
| 874 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod88">LimitClause</A></TD> |
| 875 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 876 | <TD ALIGN=LEFT VALIGN=BASELINE><LIMIT> <A HREF="#prod43">Expression</A> ( <OFFSET> <A HREF="#prod43">Expression</A> )?</TD> |
| 877 | </TR> |
| 878 | <TR> |
| 879 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod63">QuantifiedExpression</A></TD> |
| 880 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 881 | <TD ALIGN=LEFT VALIGN=BASELINE>( ( <SOME> ) | ( <EVERY> ) ) <A HREF="#prod49">Variable</A> <IN> <A HREF="#prod43">Expression</A> ( <COMMA> <A HREF="#prod49">Variable</A> <IN> <A HREF="#prod43">Expression</A> )* <SATISFIES> <A HREF="#prod43">Expression</A></TD> |
| 882 | </TR> |
| 883 | <TR> |
| 884 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod103">LetElement</A></TD> |
| 885 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 886 | <TD ALIGN=LEFT VALIGN=BASELINE><A HREF="#prod49">Variable</A> <EQ> <A HREF="#prod43">Expression</A></TD> |
| 887 | </TR> |
| 888 | <TR> |
| 889 | <TD ALIGN=RIGHT VALIGN=BASELINE><A NAME="prod104">WithElement</A></TD> |
| 890 | <TD ALIGN=CENTER VALIGN=BASELINE>::=</TD> |
| 891 | <TD ALIGN=LEFT VALIGN=BASELINE><A HREF="#prod49">Variable</A> <AS> <A HREF="#prod43">Expression</A></TD> |
| 892 | </TR> |
| 893 | </TABLE> |
| 894 | </BODY> |
| 895 | </HTML> |