Documentation Source Text

Hex Artifact Content
Login

Artifact 9f057633d12ba264af02a7da6ad64c93a46cfe6fa57ff7cc65968d568f1bc7ae:


0000: 73 65 74 20 73 79 6e 74 61 78 5f 6c 69 6e 6b 61  set syntax_linka
0010: 67 65 28 61 6c 74 65 72 2d 74 61 62 6c 65 2d 73  ge(alter-table-s
0020: 74 6d 74 29 20 7b 63 6f 6c 75 6d 6e 2d 64 65 66  tmt) {column-def
0030: 20 73 71 6c 2d 73 74 6d 74 7d 0a 73 65 74 20 73   sql-stmt}.set s
0040: 79 6e 74 61 78 5f 6c 69 6e 6b 61 67 65 28 61 6e  yntax_linkage(an
0050: 61 6c 79 7a 65 2d 73 74 6d 74 29 20 7b 7b 7d 20  alyze-stmt) {{} 
0060: 73 71 6c 2d 73 74 6d 74 7d 0a 73 65 74 20 73 79  sql-stmt}.set sy
0070: 6e 74 61 78 5f 6c 69 6e 6b 61 67 65 28 61 74 74  ntax_linkage(att
0080: 61 63 68 2d 73 74 6d 74 29 20 7b 65 78 70 72 20  ach-stmt) {expr 
0090: 73 71 6c 2d 73 74 6d 74 7d 0a 73 65 74 20 73 79  sql-stmt}.set sy
00a0: 6e 74 61 78 5f 6c 69 6e 6b 61 67 65 28 62 65 67  ntax_linkage(beg
00b0: 69 6e 2d 73 74 6d 74 29 20 7b 7b 7d 20 73 71 6c  in-stmt) {{} sql
00c0: 2d 73 74 6d 74 7d 0a 73 65 74 20 73 79 6e 74 61  -stmt}.set synta
00d0: 78 5f 6c 69 6e 6b 61 67 65 28 63 6f 6c 75 6d 6e  x_linkage(column
00e0: 2d 63 6f 6e 73 74 72 61 69 6e 74 29 20 7b 7b 63  -constraint) {{c
00f0: 6f 6e 66 6c 69 63 74 2d 63 6c 61 75 73 65 20 65  onflict-clause e
0100: 78 70 72 20 66 6f 72 65 69 67 6e 2d 6b 65 79 2d  xpr foreign-key-
0110: 63 6c 61 75 73 65 20 6c 69 74 65 72 61 6c 2d 76  clause literal-v
0120: 61 6c 75 65 20 73 69 67 6e 65 64 2d 6e 75 6d 62  alue signed-numb
0130: 65 72 7d 20 63 6f 6c 75 6d 6e 2d 64 65 66 7d 0a  er} column-def}.
0140: 73 65 74 20 73 79 6e 74 61 78 5f 6c 69 6e 6b 61  set syntax_linka
0150: 67 65 28 63 6f 6c 75 6d 6e 2d 64 65 66 29 20 7b  ge(column-def) {
0160: 7b 63 6f 6c 75 6d 6e 2d 63 6f 6e 73 74 72 61 69  {column-constrai
0170: 6e 74 20 74 79 70 65 2d 6e 61 6d 65 7d 20 7b 61  nt type-name} {a
0180: 6c 74 65 72 2d 74 61 62 6c 65 2d 73 74 6d 74 20  lter-table-stmt 
0190: 63 72 65 61 74 65 2d 74 61 62 6c 65 2d 73 74 6d  create-table-stm
01a0: 74 7d 7d 0a 73 65 74 20 73 79 6e 74 61 78 5f 6c  t}}.set syntax_l
01b0: 69 6e 6b 61 67 65 28 63 6f 6c 75 6d 6e 2d 6e 61  inkage(column-na
01c0: 6d 65 2d 6c 69 73 74 29 20 7b 7b 7d 20 7b 75 70  me-list) {{} {up
01d0: 64 61 74 65 2d 73 74 6d 74 20 75 70 64 61 74 65  date-stmt update
01e0: 2d 73 74 6d 74 2d 6c 69 6d 69 74 65 64 20 75 70  -stmt-limited up
01f0: 73 65 72 74 2d 63 6c 61 75 73 65 7d 7d 0a 73 65  sert-clause}}.se
0200: 74 20 73 79 6e 74 61 78 5f 6c 69 6e 6b 61 67 65  t syntax_linkage
0210: 28 63 6f 6d 6d 65 6e 74 2d 73 79 6e 74 61 78 29  (comment-syntax)
0220: 20 7b 7b 7d 20 7b 7d 7d 0a 73 65 74 20 73 79 6e   {{} {}}.set syn
0230: 74 61 78 5f 6c 69 6e 6b 61 67 65 28 63 6f 6d 6d  tax_linkage(comm
0240: 69 74 2d 73 74 6d 74 29 20 7b 7b 7d 20 73 71 6c  it-stmt) {{} sql
0250: 2d 73 74 6d 74 7d 0a 73 65 74 20 73 79 6e 74 61  -stmt}.set synta
0260: 78 5f 6c 69 6e 6b 61 67 65 28 63 6f 6d 6d 6f 6e  x_linkage(common
0270: 2d 74 61 62 6c 65 2d 65 78 70 72 65 73 73 69 6f  -table-expressio
0280: 6e 29 20 7b 73 65 6c 65 63 74 2d 73 74 6d 74 20  n) {select-stmt 
0290: 7b 63 6f 6d 70 6f 75 6e 64 2d 73 65 6c 65 63 74  {compound-select
02a0: 2d 73 74 6d 74 20 66 61 63 74 6f 72 65 64 2d 73  -stmt factored-s
02b0: 65 6c 65 63 74 2d 73 74 6d 74 20 73 65 6c 65 63  elect-stmt selec
02c0: 74 2d 73 74 6d 74 20 73 69 6d 70 6c 65 2d 73 65  t-stmt simple-se
02d0: 6c 65 63 74 2d 73 74 6d 74 7d 7d 0a 73 65 74 20  lect-stmt}}.set 
02e0: 73 79 6e 74 61 78 5f 6c 69 6e 6b 61 67 65 28 63  syntax_linkage(c
02f0: 6f 6d 70 6f 75 6e 64 2d 6f 70 65 72 61 74 6f 72  ompound-operator
0300: 29 20 7b 7b 7d 20 7b 66 61 63 74 6f 72 65 64 2d  ) {{} {factored-
0310: 73 65 6c 65 63 74 2d 73 74 6d 74 20 73 65 6c 65  select-stmt sele
0320: 63 74 2d 73 74 6d 74 7d 7d 0a 73 65 74 20 73 79  ct-stmt}}.set sy
0330: 6e 74 61 78 5f 6c 69 6e 6b 61 67 65 28 63 6f 6d  ntax_linkage(com
0340: 70 6f 75 6e 64 2d 73 65 6c 65 63 74 2d 73 74 6d  pound-select-stm
0350: 74 29 20 7b 7b 63 6f 6d 6d 6f 6e 2d 74 61 62 6c  t) {{common-tabl
0360: 65 2d 65 78 70 72 65 73 73 69 6f 6e 20 65 78 70  e-expression exp
0370: 72 20 6f 72 64 65 72 69 6e 67 2d 74 65 72 6d 20  r ordering-term 
0380: 73 65 6c 65 63 74 2d 63 6f 72 65 7d 20 7b 7d 7d  select-core} {}}
0390: 0a 73 65 74 20 73 79 6e 74 61 78 5f 6c 69 6e 6b  .set syntax_link
03a0: 61 67 65 28 63 6f 6e 66 6c 69 63 74 2d 63 6c 61  age(conflict-cla
03b0: 75 73 65 29 20 7b 7b 7d 20 7b 63 6f 6c 75 6d 6e  use) {{} {column
03c0: 2d 63 6f 6e 73 74 72 61 69 6e 74 20 74 61 62 6c  -constraint tabl
03d0: 65 2d 63 6f 6e 73 74 72 61 69 6e 74 7d 7d 0a 73  e-constraint}}.s
03e0: 65 74 20 73 79 6e 74 61 78 5f 6c 69 6e 6b 61 67  et syntax_linkag
03f0: 65 28 63 72 65 61 74 65 2d 69 6e 64 65 78 2d 73  e(create-index-s
0400: 74 6d 74 29 20 7b 7b 65 78 70 72 20 69 6e 64 65  tmt) {{expr inde
0410: 78 65 64 2d 63 6f 6c 75 6d 6e 7d 20 73 71 6c 2d  xed-column} sql-
0420: 73 74 6d 74 7d 0a 73 65 74 20 73 79 6e 74 61 78  stmt}.set syntax
0430: 5f 6c 69 6e 6b 61 67 65 28 63 72 65 61 74 65 2d  _linkage(create-
0440: 74 61 62 6c 65 2d 73 74 6d 74 29 20 7b 7b 63 6f  table-stmt) {{co
0450: 6c 75 6d 6e 2d 64 65 66 20 73 65 6c 65 63 74 2d  lumn-def select-
0460: 73 74 6d 74 20 74 61 62 6c 65 2d 63 6f 6e 73 74  stmt table-const
0470: 72 61 69 6e 74 7d 20 73 71 6c 2d 73 74 6d 74 7d  raint} sql-stmt}
0480: 0a 73 65 74 20 73 79 6e 74 61 78 5f 6c 69 6e 6b  .set syntax_link
0490: 61 67 65 28 63 72 65 61 74 65 2d 74 72 69 67 67  age(create-trigg
04a0: 65 72 2d 73 74 6d 74 29 20 7b 7b 64 65 6c 65 74  er-stmt) {{delet
04b0: 65 2d 73 74 6d 74 20 65 78 70 72 20 69 6e 73 65  e-stmt expr inse
04c0: 72 74 2d 73 74 6d 74 20 73 65 6c 65 63 74 2d 73  rt-stmt select-s
04d0: 74 6d 74 20 75 70 64 61 74 65 2d 73 74 6d 74 7d  tmt update-stmt}
04e0: 20 73 71 6c 2d 73 74 6d 74 7d 0a 73 65 74 20 73   sql-stmt}.set s
04f0: 79 6e 74 61 78 5f 6c 69 6e 6b 61 67 65 28 63 72  yntax_linkage(cr
0500: 65 61 74 65 2d 76 69 65 77 2d 73 74 6d 74 29 20  eate-view-stmt) 
0510: 7b 73 65 6c 65 63 74 2d 73 74 6d 74 20 73 71 6c  {select-stmt sql
0520: 2d 73 74 6d 74 7d 0a 73 65 74 20 73 79 6e 74 61  -stmt}.set synta
0530: 78 5f 6c 69 6e 6b 61 67 65 28 63 72 65 61 74 65  x_linkage(create
0540: 2d 76 69 72 74 75 61 6c 2d 74 61 62 6c 65 2d 73  -virtual-table-s
0550: 74 6d 74 29 20 7b 7b 7d 20 73 71 6c 2d 73 74 6d  tmt) {{} sql-stm
0560: 74 7d 0a 73 65 74 20 73 79 6e 74 61 78 5f 6c 69  t}.set syntax_li
0570: 6e 6b 61 67 65 28 63 74 65 2d 74 61 62 6c 65 2d  nkage(cte-table-
0580: 6e 61 6d 65 29 20 7b 7b 7d 20 7b 72 65 63 75 72  name) {{} {recur
0590: 73 69 76 65 2d 63 74 65 20 77 69 74 68 2d 63 6c  sive-cte with-cl
05a0: 61 75 73 65 7d 7d 0a 73 65 74 20 73 79 6e 74 61  ause}}.set synta
05b0: 78 5f 6c 69 6e 6b 61 67 65 28 64 65 6c 65 74 65  x_linkage(delete
05c0: 2d 73 74 6d 74 29 20 7b 7b 65 78 70 72 20 71 75  -stmt) {{expr qu
05d0: 61 6c 69 66 69 65 64 2d 74 61 62 6c 65 2d 6e 61  alified-table-na
05e0: 6d 65 20 77 69 74 68 2d 63 6c 61 75 73 65 7d 20  me with-clause} 
05f0: 7b 63 72 65 61 74 65 2d 74 72 69 67 67 65 72 2d  {create-trigger-
0600: 73 74 6d 74 20 73 71 6c 2d 73 74 6d 74 7d 7d 0a  stmt sql-stmt}}.
0610: 73 65 74 20 73 79 6e 74 61 78 5f 6c 69 6e 6b 61  set syntax_linka
0620: 67 65 28 64 65 6c 65 74 65 2d 73 74 6d 74 2d 6c  ge(delete-stmt-l
0630: 69 6d 69 74 65 64 29 20 7b 7b 65 78 70 72 20 6f  imited) {{expr o
0640: 72 64 65 72 69 6e 67 2d 74 65 72 6d 20 71 75 61  rdering-term qua
0650: 6c 69 66 69 65 64 2d 74 61 62 6c 65 2d 6e 61 6d  lified-table-nam
0660: 65 20 77 69 74 68 2d 63 6c 61 75 73 65 7d 20 73  e with-clause} s
0670: 71 6c 2d 73 74 6d 74 7d 0a 73 65 74 20 73 79 6e  ql-stmt}.set syn
0680: 74 61 78 5f 6c 69 6e 6b 61 67 65 28 64 65 74 61  tax_linkage(deta
0690: 63 68 2d 73 74 6d 74 29 20 7b 7b 7d 20 73 71 6c  ch-stmt) {{} sql
06a0: 2d 73 74 6d 74 7d 0a 73 65 74 20 73 79 6e 74 61  -stmt}.set synta
06b0: 78 5f 6c 69 6e 6b 61 67 65 28 64 72 6f 70 2d 69  x_linkage(drop-i
06c0: 6e 64 65 78 2d 73 74 6d 74 29 20 7b 7b 7d 20 73  ndex-stmt) {{} s
06d0: 71 6c 2d 73 74 6d 74 7d 0a 73 65 74 20 73 79 6e  ql-stmt}.set syn
06e0: 74 61 78 5f 6c 69 6e 6b 61 67 65 28 64 72 6f 70  tax_linkage(drop
06f0: 2d 74 61 62 6c 65 2d 73 74 6d 74 29 20 7b 7b 7d  -table-stmt) {{}
0700: 20 73 71 6c 2d 73 74 6d 74 7d 0a 73 65 74 20 73   sql-stmt}.set s
0710: 79 6e 74 61 78 5f 6c 69 6e 6b 61 67 65 28 64 72  yntax_linkage(dr
0720: 6f 70 2d 74 72 69 67 67 65 72 2d 73 74 6d 74 29  op-trigger-stmt)
0730: 20 7b 7b 7d 20 73 71 6c 2d 73 74 6d 74 7d 0a 73   {{} sql-stmt}.s
0740: 65 74 20 73 79 6e 74 61 78 5f 6c 69 6e 6b 61 67  et syntax_linkag
0750: 65 28 64 72 6f 70 2d 76 69 65 77 2d 73 74 6d 74  e(drop-view-stmt
0760: 29 20 7b 7b 7d 20 73 71 6c 2d 73 74 6d 74 7d 0a  ) {{} sql-stmt}.
0770: 73 65 74 20 73 79 6e 74 61 78 5f 6c 69 6e 6b 61  set syntax_linka
0780: 67 65 28 65 78 70 72 29 20 7b 7b 66 69 6c 74 65  ge(expr) {{filte
0790: 72 20 6c 69 74 65 72 61 6c 2d 76 61 6c 75 65 20  r literal-value 
07a0: 72 61 69 73 65 2d 66 75 6e 63 74 69 6f 6e 20 73  raise-function s
07b0: 65 6c 65 63 74 2d 73 74 6d 74 20 74 79 70 65 2d  elect-stmt type-
07c0: 6e 61 6d 65 20 77 69 6e 64 6f 77 2d 64 65 66 6e  name window-defn
07d0: 7d 20 7b 61 74 74 61 63 68 2d 73 74 6d 74 20 63  } {attach-stmt c
07e0: 6f 6c 75 6d 6e 2d 63 6f 6e 73 74 72 61 69 6e 74  olumn-constraint
07f0: 20 63 6f 6d 70 6f 75 6e 64 2d 73 65 6c 65 63 74   compound-select
0800: 2d 73 74 6d 74 20 63 72 65 61 74 65 2d 69 6e 64  -stmt create-ind
0810: 65 78 2d 73 74 6d 74 20 63 72 65 61 74 65 2d 74  ex-stmt create-t
0820: 72 69 67 67 65 72 2d 73 74 6d 74 20 64 65 6c 65  rigger-stmt dele
0830: 74 65 2d 73 74 6d 74 20 64 65 6c 65 74 65 2d 73  te-stmt delete-s
0840: 74 6d 74 2d 6c 69 6d 69 74 65 64 20 66 61 63 74  tmt-limited fact
0850: 6f 72 65 64 2d 73 65 6c 65 63 74 2d 73 74 6d 74  ored-select-stmt
0860: 20 66 69 6c 74 65 72 20 66 72 61 6d 65 2d 73 70   filter frame-sp
0870: 65 63 20 66 75 6e 63 74 69 6f 6e 2d 69 6e 76 6f  ec function-invo
0880: 63 61 74 69 6f 6e 20 69 6e 64 65 78 65 64 2d 63  cation indexed-c
0890: 6f 6c 75 6d 6e 20 69 6e 73 65 72 74 2d 73 74 6d  olumn insert-stm
08a0: 74 20 6a 6f 69 6e 2d 63 6f 6e 73 74 72 61 69 6e  t join-constrain
08b0: 74 20 6f 72 64 65 72 69 6e 67 2d 74 65 72 6d 20  t ordering-term 
08c0: 72 65 73 75 6c 74 2d 63 6f 6c 75 6d 6e 20 73 65  result-column se
08d0: 6c 65 63 74 2d 63 6f 72 65 20 73 65 6c 65 63 74  lect-core select
08e0: 2d 73 74 6d 74 20 73 69 6d 70 6c 65 2d 73 65 6c  -stmt simple-sel
08f0: 65 63 74 2d 73 74 6d 74 20 74 61 62 6c 65 2d 63  ect-stmt table-c
0900: 6f 6e 73 74 72 61 69 6e 74 20 74 61 62 6c 65 2d  onstraint table-
0910: 6f 72 2d 73 75 62 71 75 65 72 79 20 75 70 64 61  or-subquery upda
0920: 74 65 2d 73 74 6d 74 20 75 70 64 61 74 65 2d 73  te-stmt update-s
0930: 74 6d 74 2d 6c 69 6d 69 74 65 64 20 75 70 73 65  tmt-limited upse
0940: 72 74 2d 63 6c 61 75 73 65 20 77 69 6e 64 6f 77  rt-clause window
0950: 2d 64 65 66 6e 20 77 69 6e 64 6f 77 2d 66 75 6e  -defn window-fun
0960: 63 74 69 6f 6e 2d 69 6e 76 6f 63 61 74 69 6f 6e  ction-invocation
0970: 7d 7d 0a 73 65 74 20 73 79 6e 74 61 78 5f 6c 69  }}.set syntax_li
0980: 6e 6b 61 67 65 28 66 61 63 74 6f 72 65 64 2d 73  nkage(factored-s
0990: 65 6c 65 63 74 2d 73 74 6d 74 29 20 7b 7b 63 6f  elect-stmt) {{co
09a0: 6d 6d 6f 6e 2d 74 61 62 6c 65 2d 65 78 70 72 65  mmon-table-expre
09b0: 73 73 69 6f 6e 20 63 6f 6d 70 6f 75 6e 64 2d 6f  ssion compound-o
09c0: 70 65 72 61 74 6f 72 20 65 78 70 72 20 6f 72 64  perator expr ord
09d0: 65 72 69 6e 67 2d 74 65 72 6d 20 73 65 6c 65 63  ering-term selec
09e0: 74 2d 63 6f 72 65 7d 20 7b 7d 7d 0a 73 65 74 20  t-core} {}}.set 
09f0: 73 79 6e 74 61 78 5f 6c 69 6e 6b 61 67 65 28 66  syntax_linkage(f
0a00: 69 6c 74 65 72 29 20 7b 65 78 70 72 20 7b 65 78  ilter) {expr {ex
0a10: 70 72 20 77 69 6e 64 6f 77 2d 66 75 6e 63 74 69  pr window-functi
0a20: 6f 6e 2d 69 6e 76 6f 63 61 74 69 6f 6e 7d 7d 0a  on-invocation}}.
0a30: 73 65 74 20 73 79 6e 74 61 78 5f 6c 69 6e 6b 61  set syntax_linka
0a40: 67 65 28 66 6f 72 65 69 67 6e 2d 6b 65 79 2d 63  ge(foreign-key-c
0a50: 6c 61 75 73 65 29 20 7b 7b 7d 20 7b 63 6f 6c 75  lause) {{} {colu
0a60: 6d 6e 2d 63 6f 6e 73 74 72 61 69 6e 74 20 74 61  mn-constraint ta
0a70: 62 6c 65 2d 63 6f 6e 73 74 72 61 69 6e 74 7d 7d  ble-constraint}}
0a80: 0a 73 65 74 20 73 79 6e 74 61 78 5f 6c 69 6e 6b  .set syntax_link
0a90: 61 67 65 28 66 72 61 6d 65 2d 73 70 65 63 29 20  age(frame-spec) 
0aa0: 7b 65 78 70 72 20 77 69 6e 64 6f 77 2d 64 65 66  {expr window-def
0ab0: 6e 7d 0a 73 65 74 20 73 79 6e 74 61 78 5f 6c 69  n}.set syntax_li
0ac0: 6e 6b 61 67 65 28 66 75 6e 63 74 69 6f 6e 2d 69  nkage(function-i
0ad0: 6e 76 6f 63 61 74 69 6f 6e 29 20 7b 65 78 70 72  nvocation) {expr
0ae0: 20 7b 7d 7d 0a 73 65 74 20 73 79 6e 74 61 78 5f   {}}.set syntax_
0af0: 6c 69 6e 6b 61 67 65 28 69 6e 64 65 78 65 64 2d  linkage(indexed-
0b00: 63 6f 6c 75 6d 6e 29 20 7b 65 78 70 72 20 7b 63  column) {expr {c
0b10: 72 65 61 74 65 2d 69 6e 64 65 78 2d 73 74 6d 74  reate-index-stmt
0b20: 20 74 61 62 6c 65 2d 63 6f 6e 73 74 72 61 69 6e   table-constrain
0b30: 74 20 75 70 73 65 72 74 2d 63 6c 61 75 73 65 7d  t upsert-clause}
0b40: 7d 0a 73 65 74 20 73 79 6e 74 61 78 5f 6c 69 6e  }.set syntax_lin
0b50: 6b 61 67 65 28 69 6e 73 65 72 74 2d 73 74 6d 74  kage(insert-stmt
0b60: 29 20 7b 7b 65 78 70 72 20 73 65 6c 65 63 74 2d  ) {{expr select-
0b70: 73 74 6d 74 20 75 70 73 65 72 74 2d 63 6c 61 75  stmt upsert-clau
0b80: 73 65 20 77 69 74 68 2d 63 6c 61 75 73 65 7d 20  se with-clause} 
0b90: 7b 63 72 65 61 74 65 2d 74 72 69 67 67 65 72 2d  {create-trigger-
0ba0: 73 74 6d 74 20 73 71 6c 2d 73 74 6d 74 7d 7d 0a  stmt sql-stmt}}.
0bb0: 73 65 74 20 73 79 6e 74 61 78 5f 6c 69 6e 6b 61  set syntax_linka
0bc0: 67 65 28 6a 6f 69 6e 2d 63 6c 61 75 73 65 29 20  ge(join-clause) 
0bd0: 7b 7b 6a 6f 69 6e 2d 63 6f 6e 73 74 72 61 69 6e  {{join-constrain
0be0: 74 20 6a 6f 69 6e 2d 6f 70 65 72 61 74 6f 72 20  t join-operator 
0bf0: 74 61 62 6c 65 2d 6f 72 2d 73 75 62 71 75 65 72  table-or-subquer
0c00: 79 7d 20 7b 73 65 6c 65 63 74 2d 63 6f 72 65 20  y} {select-core 
0c10: 73 65 6c 65 63 74 2d 73 74 6d 74 20 74 61 62 6c  select-stmt tabl
0c20: 65 2d 6f 72 2d 73 75 62 71 75 65 72 79 7d 7d 0a  e-or-subquery}}.
0c30: 73 65 74 20 73 79 6e 74 61 78 5f 6c 69 6e 6b 61  set syntax_linka
0c40: 67 65 28 6a 6f 69 6e 2d 63 6f 6e 73 74 72 61 69  ge(join-constrai
0c50: 6e 74 29 20 7b 65 78 70 72 20 6a 6f 69 6e 2d 63  nt) {expr join-c
0c60: 6c 61 75 73 65 7d 0a 73 65 74 20 73 79 6e 74 61  lause}.set synta
0c70: 78 5f 6c 69 6e 6b 61 67 65 28 6a 6f 69 6e 2d 6f  x_linkage(join-o
0c80: 70 65 72 61 74 6f 72 29 20 7b 7b 7d 20 6a 6f 69  perator) {{} joi
0c90: 6e 2d 63 6c 61 75 73 65 7d 0a 73 65 74 20 73 79  n-clause}.set sy
0ca0: 6e 74 61 78 5f 6c 69 6e 6b 61 67 65 28 6c 69 74  ntax_linkage(lit
0cb0: 65 72 61 6c 2d 76 61 6c 75 65 29 20 7b 7b 7d 20  eral-value) {{} 
0cc0: 7b 63 6f 6c 75 6d 6e 2d 63 6f 6e 73 74 72 61 69  {column-constrai
0cd0: 6e 74 20 65 78 70 72 7d 7d 0a 73 65 74 20 73 79  nt expr}}.set sy
0ce0: 6e 74 61 78 5f 6c 69 6e 6b 61 67 65 28 6e 75 6d  ntax_linkage(num
0cf0: 65 72 69 63 2d 6c 69 74 65 72 61 6c 29 20 7b 7b  eric-literal) {{
0d00: 7d 20 7b 7d 7d 0a 73 65 74 20 73 79 6e 74 61 78  } {}}.set syntax
0d10: 5f 6c 69 6e 6b 61 67 65 28 6f 72 64 65 72 69 6e  _linkage(orderin
0d20: 67 2d 74 65 72 6d 29 20 7b 65 78 70 72 20 7b 63  g-term) {expr {c
0d30: 6f 6d 70 6f 75 6e 64 2d 73 65 6c 65 63 74 2d 73  ompound-select-s
0d40: 74 6d 74 20 64 65 6c 65 74 65 2d 73 74 6d 74 2d  tmt delete-stmt-
0d50: 6c 69 6d 69 74 65 64 20 66 61 63 74 6f 72 65 64  limited factored
0d60: 2d 73 65 6c 65 63 74 2d 73 74 6d 74 20 73 65 6c  -select-stmt sel
0d70: 65 63 74 2d 73 74 6d 74 20 73 69 6d 70 6c 65 2d  ect-stmt simple-
0d80: 73 65 6c 65 63 74 2d 73 74 6d 74 20 75 70 64 61  select-stmt upda
0d90: 74 65 2d 73 74 6d 74 2d 6c 69 6d 69 74 65 64 20  te-stmt-limited 
0da0: 77 69 6e 64 6f 77 2d 64 65 66 6e 7d 7d 0a 73 65  window-defn}}.se
0db0: 74 20 73 79 6e 74 61 78 5f 6c 69 6e 6b 61 67 65  t syntax_linkage
0dc0: 28 70 72 61 67 6d 61 2d 73 74 6d 74 29 20 7b 70  (pragma-stmt) {p
0dd0: 72 61 67 6d 61 2d 76 61 6c 75 65 20 73 71 6c 2d  ragma-value sql-
0de0: 73 74 6d 74 7d 0a 73 65 74 20 73 79 6e 74 61 78  stmt}.set syntax
0df0: 5f 6c 69 6e 6b 61 67 65 28 70 72 61 67 6d 61 2d  _linkage(pragma-
0e00: 76 61 6c 75 65 29 20 7b 73 69 67 6e 65 64 2d 6e  value) {signed-n
0e10: 75 6d 62 65 72 20 70 72 61 67 6d 61 2d 73 74 6d  umber pragma-stm
0e20: 74 7d 0a 73 65 74 20 73 79 6e 74 61 78 5f 6c 69  t}.set syntax_li
0e30: 6e 6b 61 67 65 28 71 75 61 6c 69 66 69 65 64 2d  nkage(qualified-
0e40: 74 61 62 6c 65 2d 6e 61 6d 65 29 20 7b 7b 7d 20  table-name) {{} 
0e50: 7b 64 65 6c 65 74 65 2d 73 74 6d 74 20 64 65 6c  {delete-stmt del
0e60: 65 74 65 2d 73 74 6d 74 2d 6c 69 6d 69 74 65 64  ete-stmt-limited
0e70: 20 75 70 64 61 74 65 2d 73 74 6d 74 20 75 70 64   update-stmt upd
0e80: 61 74 65 2d 73 74 6d 74 2d 6c 69 6d 69 74 65 64  ate-stmt-limited
0e90: 7d 7d 0a 73 65 74 20 73 79 6e 74 61 78 5f 6c 69  }}.set syntax_li
0ea0: 6e 6b 61 67 65 28 72 61 69 73 65 2d 66 75 6e 63  nkage(raise-func
0eb0: 74 69 6f 6e 29 20 7b 7b 7d 20 65 78 70 72 7d 0a  tion) {{} expr}.
0ec0: 73 65 74 20 73 79 6e 74 61 78 5f 6c 69 6e 6b 61  set syntax_linka
0ed0: 67 65 28 72 65 63 75 72 73 69 76 65 2d 63 74 65  ge(recursive-cte
0ee0: 29 20 7b 63 74 65 2d 74 61 62 6c 65 2d 6e 61 6d  ) {cte-table-nam
0ef0: 65 20 7b 7d 7d 0a 73 65 74 20 73 79 6e 74 61 78  e {}}.set syntax
0f00: 5f 6c 69 6e 6b 61 67 65 28 72 65 69 6e 64 65 78  _linkage(reindex
0f10: 2d 73 74 6d 74 29 20 7b 7b 7d 20 73 71 6c 2d 73  -stmt) {{} sql-s
0f20: 74 6d 74 7d 0a 73 65 74 20 73 79 6e 74 61 78 5f  tmt}.set syntax_
0f30: 6c 69 6e 6b 61 67 65 28 72 65 6c 65 61 73 65 2d  linkage(release-
0f40: 73 74 6d 74 29 20 7b 7b 7d 20 73 71 6c 2d 73 74  stmt) {{} sql-st
0f50: 6d 74 7d 0a 73 65 74 20 73 79 6e 74 61 78 5f 6c  mt}.set syntax_l
0f60: 69 6e 6b 61 67 65 28 72 65 73 75 6c 74 2d 63 6f  inkage(result-co
0f70: 6c 75 6d 6e 29 20 7b 65 78 70 72 20 7b 73 65 6c  lumn) {expr {sel
0f80: 65 63 74 2d 63 6f 72 65 20 73 65 6c 65 63 74 2d  ect-core select-
0f90: 73 74 6d 74 7d 7d 0a 73 65 74 20 73 79 6e 74 61  stmt}}.set synta
0fa0: 78 5f 6c 69 6e 6b 61 67 65 28 72 6f 6c 6c 62 61  x_linkage(rollba
0fb0: 63 6b 2d 73 74 6d 74 29 20 7b 7b 7d 20 73 71 6c  ck-stmt) {{} sql
0fc0: 2d 73 74 6d 74 7d 0a 73 65 74 20 73 79 6e 74 61  -stmt}.set synta
0fd0: 78 5f 6c 69 6e 6b 61 67 65 28 73 61 76 65 70 6f  x_linkage(savepo
0fe0: 69 6e 74 2d 73 74 6d 74 29 20 7b 7b 7d 20 73 71  int-stmt) {{} sq
0ff0: 6c 2d 73 74 6d 74 7d 0a 73 65 74 20 73 79 6e 74  l-stmt}.set synt
1000: 61 78 5f 6c 69 6e 6b 61 67 65 28 73 65 6c 65 63  ax_linkage(selec
1010: 74 2d 63 6f 72 65 29 20 7b 7b 65 78 70 72 20 6a  t-core) {{expr j
1020: 6f 69 6e 2d 63 6c 61 75 73 65 20 72 65 73 75 6c  oin-clause resul
1030: 74 2d 63 6f 6c 75 6d 6e 20 74 61 62 6c 65 2d 6f  t-column table-o
1040: 72 2d 73 75 62 71 75 65 72 79 20 77 69 6e 64 6f  r-subquery windo
1050: 77 2d 64 65 66 6e 7d 20 7b 63 6f 6d 70 6f 75 6e  w-defn} {compoun
1060: 64 2d 73 65 6c 65 63 74 2d 73 74 6d 74 20 66 61  d-select-stmt fa
1070: 63 74 6f 72 65 64 2d 73 65 6c 65 63 74 2d 73 74  ctored-select-st
1080: 6d 74 20 73 69 6d 70 6c 65 2d 73 65 6c 65 63 74  mt simple-select
1090: 2d 73 74 6d 74 7d 7d 0a 73 65 74 20 73 79 6e 74  -stmt}}.set synt
10a0: 61 78 5f 6c 69 6e 6b 61 67 65 28 73 65 6c 65 63  ax_linkage(selec
10b0: 74 2d 73 74 6d 74 29 20 7b 7b 63 6f 6d 6d 6f 6e  t-stmt) {{common
10c0: 2d 74 61 62 6c 65 2d 65 78 70 72 65 73 73 69 6f  -table-expressio
10d0: 6e 20 63 6f 6d 70 6f 75 6e 64 2d 6f 70 65 72 61  n compound-opera
10e0: 74 6f 72 20 65 78 70 72 20 6a 6f 69 6e 2d 63 6c  tor expr join-cl
10f0: 61 75 73 65 20 6f 72 64 65 72 69 6e 67 2d 74 65  ause ordering-te
1100: 72 6d 20 72 65 73 75 6c 74 2d 63 6f 6c 75 6d 6e  rm result-column
1110: 20 74 61 62 6c 65 2d 6f 72 2d 73 75 62 71 75 65   table-or-subque
1120: 72 79 20 77 69 6e 64 6f 77 2d 64 65 66 6e 7d 20  ry window-defn} 
1130: 7b 63 6f 6d 6d 6f 6e 2d 74 61 62 6c 65 2d 65 78  {common-table-ex
1140: 70 72 65 73 73 69 6f 6e 20 63 72 65 61 74 65 2d  pression create-
1150: 74 61 62 6c 65 2d 73 74 6d 74 20 63 72 65 61 74  table-stmt creat
1160: 65 2d 74 72 69 67 67 65 72 2d 73 74 6d 74 20 63  e-trigger-stmt c
1170: 72 65 61 74 65 2d 76 69 65 77 2d 73 74 6d 74 20  reate-view-stmt 
1180: 65 78 70 72 20 69 6e 73 65 72 74 2d 73 74 6d 74  expr insert-stmt
1190: 20 73 71 6c 2d 73 74 6d 74 20 74 61 62 6c 65 2d   sql-stmt table-
11a0: 6f 72 2d 73 75 62 71 75 65 72 79 20 77 69 74 68  or-subquery with
11b0: 2d 63 6c 61 75 73 65 7d 7d 0a 73 65 74 20 73 79  -clause}}.set sy
11c0: 6e 74 61 78 5f 6c 69 6e 6b 61 67 65 28 73 69 67  ntax_linkage(sig
11d0: 6e 65 64 2d 6e 75 6d 62 65 72 29 20 7b 7b 7d 20  ned-number) {{} 
11e0: 7b 63 6f 6c 75 6d 6e 2d 63 6f 6e 73 74 72 61 69  {column-constrai
11f0: 6e 74 20 70 72 61 67 6d 61 2d 76 61 6c 75 65 20  nt pragma-value 
1200: 74 79 70 65 2d 6e 61 6d 65 7d 7d 0a 73 65 74 20  type-name}}.set 
1210: 73 79 6e 74 61 78 5f 6c 69 6e 6b 61 67 65 28 73  syntax_linkage(s
1220: 69 6d 70 6c 65 2d 73 65 6c 65 63 74 2d 73 74 6d  imple-select-stm
1230: 74 29 20 7b 7b 63 6f 6d 6d 6f 6e 2d 74 61 62 6c  t) {{common-tabl
1240: 65 2d 65 78 70 72 65 73 73 69 6f 6e 20 65 78 70  e-expression exp
1250: 72 20 6f 72 64 65 72 69 6e 67 2d 74 65 72 6d 20  r ordering-term 
1260: 73 65 6c 65 63 74 2d 63 6f 72 65 7d 20 7b 7d 7d  select-core} {}}
1270: 0a 73 65 74 20 73 79 6e 74 61 78 5f 6c 69 6e 6b  .set syntax_link
1280: 61 67 65 28 73 71 6c 2d 73 74 6d 74 29 20 7b 7b  age(sql-stmt) {{
1290: 61 6c 74 65 72 2d 74 61 62 6c 65 2d 73 74 6d 74  alter-table-stmt
12a0: 20 61 6e 61 6c 79 7a 65 2d 73 74 6d 74 20 61 74   analyze-stmt at
12b0: 74 61 63 68 2d 73 74 6d 74 20 62 65 67 69 6e 2d  tach-stmt begin-
12c0: 73 74 6d 74 20 63 6f 6d 6d 69 74 2d 73 74 6d 74  stmt commit-stmt
12d0: 20 63 72 65 61 74 65 2d 69 6e 64 65 78 2d 73 74   create-index-st
12e0: 6d 74 20 63 72 65 61 74 65 2d 74 61 62 6c 65 2d  mt create-table-
12f0: 73 74 6d 74 20 63 72 65 61 74 65 2d 74 72 69 67  stmt create-trig
1300: 67 65 72 2d 73 74 6d 74 20 63 72 65 61 74 65 2d  ger-stmt create-
1310: 76 69 65 77 2d 73 74 6d 74 20 63 72 65 61 74 65  view-stmt create
1320: 2d 76 69 72 74 75 61 6c 2d 74 61 62 6c 65 2d 73  -virtual-table-s
1330: 74 6d 74 20 64 65 6c 65 74 65 2d 73 74 6d 74 20  tmt delete-stmt 
1340: 64 65 6c 65 74 65 2d 73 74 6d 74 2d 6c 69 6d 69  delete-stmt-limi
1350: 74 65 64 20 64 65 74 61 63 68 2d 73 74 6d 74 20  ted detach-stmt 
1360: 64 72 6f 70 2d 69 6e 64 65 78 2d 73 74 6d 74 20  drop-index-stmt 
1370: 64 72 6f 70 2d 74 61 62 6c 65 2d 73 74 6d 74 20  drop-table-stmt 
1380: 64 72 6f 70 2d 74 72 69 67 67 65 72 2d 73 74 6d  drop-trigger-stm
1390: 74 20 64 72 6f 70 2d 76 69 65 77 2d 73 74 6d 74  t drop-view-stmt
13a0: 20 69 6e 73 65 72 74 2d 73 74 6d 74 20 70 72 61   insert-stmt pra
13b0: 67 6d 61 2d 73 74 6d 74 20 72 65 69 6e 64 65 78  gma-stmt reindex
13c0: 2d 73 74 6d 74 20 72 65 6c 65 61 73 65 2d 73 74  -stmt release-st
13d0: 6d 74 20 72 6f 6c 6c 62 61 63 6b 2d 73 74 6d 74  mt rollback-stmt
13e0: 20 73 61 76 65 70 6f 69 6e 74 2d 73 74 6d 74 20   savepoint-stmt 
13f0: 73 65 6c 65 63 74 2d 73 74 6d 74 20 75 70 64 61  select-stmt upda
1400: 74 65 2d 73 74 6d 74 20 75 70 64 61 74 65 2d 73  te-stmt update-s
1410: 74 6d 74 2d 6c 69 6d 69 74 65 64 20 76 61 63 75  tmt-limited vacu
1420: 75 6d 2d 73 74 6d 74 7d 20 73 71 6c 2d 73 74 6d  um-stmt} sql-stm
1430: 74 2d 6c 69 73 74 7d 0a 73 65 74 20 73 79 6e 74  t-list}.set synt
1440: 61 78 5f 6c 69 6e 6b 61 67 65 28 73 71 6c 2d 73  ax_linkage(sql-s
1450: 74 6d 74 2d 6c 69 73 74 29 20 7b 73 71 6c 2d 73  tmt-list) {sql-s
1460: 74 6d 74 20 7b 7d 7d 0a 73 65 74 20 73 79 6e 74  tmt {}}.set synt
1470: 61 78 5f 6c 69 6e 6b 61 67 65 28 74 61 62 6c 65  ax_linkage(table
1480: 2d 63 6f 6e 73 74 72 61 69 6e 74 29 20 7b 7b 63  -constraint) {{c
1490: 6f 6e 66 6c 69 63 74 2d 63 6c 61 75 73 65 20 65  onflict-clause e
14a0: 78 70 72 20 66 6f 72 65 69 67 6e 2d 6b 65 79 2d  xpr foreign-key-
14b0: 63 6c 61 75 73 65 20 69 6e 64 65 78 65 64 2d 63  clause indexed-c
14c0: 6f 6c 75 6d 6e 7d 20 63 72 65 61 74 65 2d 74 61  olumn} create-ta
14d0: 62 6c 65 2d 73 74 6d 74 7d 0a 73 65 74 20 73 79  ble-stmt}.set sy
14e0: 6e 74 61 78 5f 6c 69 6e 6b 61 67 65 28 74 61 62  ntax_linkage(tab
14f0: 6c 65 2d 6f 72 2d 73 75 62 71 75 65 72 79 29 20  le-or-subquery) 
1500: 7b 7b 65 78 70 72 20 6a 6f 69 6e 2d 63 6c 61 75  {{expr join-clau
1510: 73 65 20 73 65 6c 65 63 74 2d 73 74 6d 74 7d 20  se select-stmt} 
1520: 7b 6a 6f 69 6e 2d 63 6c 61 75 73 65 20 73 65 6c  {join-clause sel
1530: 65 63 74 2d 63 6f 72 65 20 73 65 6c 65 63 74 2d  ect-core select-
1540: 73 74 6d 74 7d 7d 0a 73 65 74 20 73 79 6e 74 61  stmt}}.set synta
1550: 78 5f 6c 69 6e 6b 61 67 65 28 74 79 70 65 2d 6e  x_linkage(type-n
1560: 61 6d 65 29 20 7b 73 69 67 6e 65 64 2d 6e 75 6d  ame) {signed-num
1570: 62 65 72 20 7b 63 6f 6c 75 6d 6e 2d 64 65 66 20  ber {column-def 
1580: 65 78 70 72 7d 7d 0a 73 65 74 20 73 79 6e 74 61  expr}}.set synta
1590: 78 5f 6c 69 6e 6b 61 67 65 28 75 70 64 61 74 65  x_linkage(update
15a0: 2d 73 74 6d 74 29 20 7b 7b 63 6f 6c 75 6d 6e 2d  -stmt) {{column-
15b0: 6e 61 6d 65 2d 6c 69 73 74 20 65 78 70 72 20 71  name-list expr q
15c0: 75 61 6c 69 66 69 65 64 2d 74 61 62 6c 65 2d 6e  ualified-table-n
15d0: 61 6d 65 20 77 69 74 68 2d 63 6c 61 75 73 65 7d  ame with-clause}
15e0: 20 7b 63 72 65 61 74 65 2d 74 72 69 67 67 65 72   {create-trigger
15f0: 2d 73 74 6d 74 20 73 71 6c 2d 73 74 6d 74 7d 7d  -stmt sql-stmt}}
1600: 0a 73 65 74 20 73 79 6e 74 61 78 5f 6c 69 6e 6b  .set syntax_link
1610: 61 67 65 28 75 70 64 61 74 65 2d 73 74 6d 74 2d  age(update-stmt-
1620: 6c 69 6d 69 74 65 64 29 20 7b 7b 63 6f 6c 75 6d  limited) {{colum
1630: 6e 2d 6e 61 6d 65 2d 6c 69 73 74 20 65 78 70 72  n-name-list expr
1640: 20 6f 72 64 65 72 69 6e 67 2d 74 65 72 6d 20 71   ordering-term q
1650: 75 61 6c 69 66 69 65 64 2d 74 61 62 6c 65 2d 6e  ualified-table-n
1660: 61 6d 65 20 77 69 74 68 2d 63 6c 61 75 73 65 7d  ame with-clause}
1670: 20 73 71 6c 2d 73 74 6d 74 7d 0a 73 65 74 20 73   sql-stmt}.set s
1680: 79 6e 74 61 78 5f 6c 69 6e 6b 61 67 65 28 75 70  yntax_linkage(up
1690: 73 65 72 74 2d 63 6c 61 75 73 65 29 20 7b 7b 63  sert-clause) {{c
16a0: 6f 6c 75 6d 6e 2d 6e 61 6d 65 2d 6c 69 73 74 20  olumn-name-list 
16b0: 65 78 70 72 20 69 6e 64 65 78 65 64 2d 63 6f 6c  expr indexed-col
16c0: 75 6d 6e 7d 20 69 6e 73 65 72 74 2d 73 74 6d 74  umn} insert-stmt
16d0: 7d 0a 73 65 74 20 73 79 6e 74 61 78 5f 6c 69 6e  }.set syntax_lin
16e0: 6b 61 67 65 28 76 61 63 75 75 6d 2d 73 74 6d 74  kage(vacuum-stmt
16f0: 29 20 7b 7b 7d 20 73 71 6c 2d 73 74 6d 74 7d 0a  ) {{} sql-stmt}.
1700: 73 65 74 20 73 79 6e 74 61 78 5f 6c 69 6e 6b 61  set syntax_linka
1710: 67 65 28 77 69 6e 64 6f 77 2d 64 65 66 6e 29 20  ge(window-defn) 
1720: 7b 7b 65 78 70 72 20 66 72 61 6d 65 2d 73 70 65  {{expr frame-spe
1730: 63 20 6f 72 64 65 72 69 6e 67 2d 74 65 72 6d 7d  c ordering-term}
1740: 20 7b 65 78 70 72 20 73 65 6c 65 63 74 2d 63 6f   {expr select-co
1750: 72 65 20 73 65 6c 65 63 74 2d 73 74 6d 74 20 77  re select-stmt w
1760: 69 6e 64 6f 77 2d 66 75 6e 63 74 69 6f 6e 2d 69  indow-function-i
1770: 6e 76 6f 63 61 74 69 6f 6e 7d 7d 0a 73 65 74 20  nvocation}}.set 
1780: 73 79 6e 74 61 78 5f 6c 69 6e 6b 61 67 65 28 77  syntax_linkage(w
1790: 69 6e 64 6f 77 2d 66 75 6e 63 74 69 6f 6e 2d 69  indow-function-i
17a0: 6e 76 6f 63 61 74 69 6f 6e 29 20 7b 7b 65 78 70  nvocation) {{exp
17b0: 72 20 66 69 6c 74 65 72 20 77 69 6e 64 6f 77 2d  r filter window-
17c0: 64 65 66 6e 7d 20 7b 7d 7d 0a 73 65 74 20 73 79  defn} {}}.set sy
17d0: 6e 74 61 78 5f 6c 69 6e 6b 61 67 65 28 77 69 74  ntax_linkage(wit
17e0: 68 2d 63 6c 61 75 73 65 29 20 7b 7b 63 74 65 2d  h-clause) {{cte-
17f0: 74 61 62 6c 65 2d 6e 61 6d 65 20 73 65 6c 65 63  table-name selec
1800: 74 2d 73 74 6d 74 7d 20 7b 64 65 6c 65 74 65 2d  t-stmt} {delete-
1810: 73 74 6d 74 20 64 65 6c 65 74 65 2d 73 74 6d 74  stmt delete-stmt
1820: 2d 6c 69 6d 69 74 65 64 20 69 6e 73 65 72 74 2d  -limited insert-
1830: 73 74 6d 74 20 75 70 64 61 74 65 2d 73 74 6d 74  stmt update-stmt
1840: 20 75 70 64 61 74 65 2d 73 74 6d 74 2d 6c 69 6d   update-stmt-lim
1850: 69 74 65 64 7d 7d 0a 73 65 74 20 73 79 6e 74 61  ited}}.set synta
1860: 78 5f 6f 72 64 65 72 20 7b 73 71 6c 2d 73 74 6d  x_order {sql-stm
1870: 74 2d 6c 69 73 74 20 73 71 6c 2d 73 74 6d 74 20  t-list sql-stmt 
1880: 61 6c 74 65 72 2d 74 61 62 6c 65 2d 73 74 6d 74  alter-table-stmt
1890: 20 61 6e 61 6c 79 7a 65 2d 73 74 6d 74 20 61 74   analyze-stmt at
18a0: 74 61 63 68 2d 73 74 6d 74 20 62 65 67 69 6e 2d  tach-stmt begin-
18b0: 73 74 6d 74 20 63 6f 6d 6d 69 74 2d 73 74 6d 74  stmt commit-stmt
18c0: 20 72 6f 6c 6c 62 61 63 6b 2d 73 74 6d 74 20 73   rollback-stmt s
18d0: 61 76 65 70 6f 69 6e 74 2d 73 74 6d 74 20 72 65  avepoint-stmt re
18e0: 6c 65 61 73 65 2d 73 74 6d 74 20 63 72 65 61 74  lease-stmt creat
18f0: 65 2d 69 6e 64 65 78 2d 73 74 6d 74 20 69 6e 64  e-index-stmt ind
1900: 65 78 65 64 2d 63 6f 6c 75 6d 6e 20 63 72 65 61  exed-column crea
1910: 74 65 2d 74 61 62 6c 65 2d 73 74 6d 74 20 63 6f  te-table-stmt co
1920: 6c 75 6d 6e 2d 64 65 66 20 74 79 70 65 2d 6e 61  lumn-def type-na
1930: 6d 65 20 63 6f 6c 75 6d 6e 2d 63 6f 6e 73 74 72  me column-constr
1940: 61 69 6e 74 20 73 69 67 6e 65 64 2d 6e 75 6d 62  aint signed-numb
1950: 65 72 20 74 61 62 6c 65 2d 63 6f 6e 73 74 72 61  er table-constra
1960: 69 6e 74 20 66 6f 72 65 69 67 6e 2d 6b 65 79 2d  int foreign-key-
1970: 63 6c 61 75 73 65 20 63 6f 6e 66 6c 69 63 74 2d  clause conflict-
1980: 63 6c 61 75 73 65 20 63 72 65 61 74 65 2d 74 72  clause create-tr
1990: 69 67 67 65 72 2d 73 74 6d 74 20 63 72 65 61 74  igger-stmt creat
19a0: 65 2d 76 69 65 77 2d 73 74 6d 74 20 63 72 65 61  e-view-stmt crea
19b0: 74 65 2d 76 69 72 74 75 61 6c 2d 74 61 62 6c 65  te-virtual-table
19c0: 2d 73 74 6d 74 20 77 69 74 68 2d 63 6c 61 75 73  -stmt with-claus
19d0: 65 20 63 74 65 2d 74 61 62 6c 65 2d 6e 61 6d 65  e cte-table-name
19e0: 20 72 65 63 75 72 73 69 76 65 2d 63 74 65 20 63   recursive-cte c
19f0: 6f 6d 6d 6f 6e 2d 74 61 62 6c 65 2d 65 78 70 72  ommon-table-expr
1a00: 65 73 73 69 6f 6e 20 64 65 6c 65 74 65 2d 73 74  ession delete-st
1a10: 6d 74 20 64 65 6c 65 74 65 2d 73 74 6d 74 2d 6c  mt delete-stmt-l
1a20: 69 6d 69 74 65 64 20 64 65 74 61 63 68 2d 73 74  imited detach-st
1a30: 6d 74 20 64 72 6f 70 2d 69 6e 64 65 78 2d 73 74  mt drop-index-st
1a40: 6d 74 20 64 72 6f 70 2d 74 61 62 6c 65 2d 73 74  mt drop-table-st
1a50: 6d 74 20 64 72 6f 70 2d 74 72 69 67 67 65 72 2d  mt drop-trigger-
1a60: 73 74 6d 74 20 64 72 6f 70 2d 76 69 65 77 2d 73  stmt drop-view-s
1a70: 74 6d 74 20 65 78 70 72 20 72 61 69 73 65 2d 66  tmt expr raise-f
1a80: 75 6e 63 74 69 6f 6e 20 6c 69 74 65 72 61 6c 2d  unction literal-
1a90: 76 61 6c 75 65 20 6e 75 6d 65 72 69 63 2d 6c 69  value numeric-li
1aa0: 74 65 72 61 6c 20 69 6e 73 65 72 74 2d 73 74 6d  teral insert-stm
1ab0: 74 20 75 70 73 65 72 74 2d 63 6c 61 75 73 65 20  t upsert-clause 
1ac0: 70 72 61 67 6d 61 2d 73 74 6d 74 20 70 72 61 67  pragma-stmt prag
1ad0: 6d 61 2d 76 61 6c 75 65 20 72 65 69 6e 64 65 78  ma-value reindex
1ae0: 2d 73 74 6d 74 20 73 65 6c 65 63 74 2d 73 74 6d  -stmt select-stm
1af0: 74 20 6a 6f 69 6e 2d 63 6c 61 75 73 65 20 73 65  t join-clause se
1b00: 6c 65 63 74 2d 63 6f 72 65 20 66 61 63 74 6f 72  lect-core factor
1b10: 65 64 2d 73 65 6c 65 63 74 2d 73 74 6d 74 20 73  ed-select-stmt s
1b20: 69 6d 70 6c 65 2d 73 65 6c 65 63 74 2d 73 74 6d  imple-select-stm
1b30: 74 20 63 6f 6d 70 6f 75 6e 64 2d 73 65 6c 65 63  t compound-selec
1b40: 74 2d 73 74 6d 74 20 74 61 62 6c 65 2d 6f 72 2d  t-stmt table-or-
1b50: 73 75 62 71 75 65 72 79 20 72 65 73 75 6c 74 2d  subquery result-
1b60: 63 6f 6c 75 6d 6e 20 6a 6f 69 6e 2d 6f 70 65 72  column join-oper
1b70: 61 74 6f 72 20 6a 6f 69 6e 2d 63 6f 6e 73 74 72  ator join-constr
1b80: 61 69 6e 74 20 6f 72 64 65 72 69 6e 67 2d 74 65  aint ordering-te
1b90: 72 6d 20 63 6f 6d 70 6f 75 6e 64 2d 6f 70 65 72  rm compound-oper
1ba0: 61 74 6f 72 20 75 70 64 61 74 65 2d 73 74 6d 74  ator update-stmt
1bb0: 20 63 6f 6c 75 6d 6e 2d 6e 61 6d 65 2d 6c 69 73   column-name-lis
1bc0: 74 20 75 70 64 61 74 65 2d 73 74 6d 74 2d 6c 69  t update-stmt-li
1bd0: 6d 69 74 65 64 20 71 75 61 6c 69 66 69 65 64 2d  mited qualified-
1be0: 74 61 62 6c 65 2d 6e 61 6d 65 20 76 61 63 75 75  table-name vacuu
1bf0: 6d 2d 73 74 6d 74 20 63 6f 6d 6d 65 6e 74 2d 73  m-stmt comment-s
1c00: 79 6e 74 61 78 20 66 69 6c 74 65 72 20 77 69 6e  yntax filter win
1c10: 64 6f 77 2d 64 65 66 6e 20 66 72 61 6d 65 2d 73  dow-defn frame-s
1c20: 70 65 63 20 66 75 6e 63 74 69 6f 6e 2d 69 6e 76  pec function-inv
1c30: 6f 63 61 74 69 6f 6e 20 77 69 6e 64 6f 77 2d 66  ocation window-f
1c40: 75 6e 63 74 69 6f 6e 2d 69 6e 76 6f 63 61 74 69  unction-invocati
1c50: 6f 6e 7d 0a                                      on}.