sqlite语法图表
Syntax Diagrams For sqlite
sql-stmt-list:
References: sql-stmt
See also: lang.html
sql-stmt:
Used by: sql-stmt-list
References: alter-table-stmt analyze-stmt attach-stmt begin-stmt commit-stmt create-index-stmt create-table-stmt create-trigger-stmt create-view-stmt create-virtual-table-stmt delete-stmt delete-stmt-limited detach-stmt drop-index-stmt drop-table-stmt drop-trigger-stmt drop-view-stmt insert-stmt pragma-stmt reindex-stmt release-stmt rollback-stmt savepoint-stmt select-stmt update-stmt update-stmt-limited vacuum-stmt
See also: lang.html lang_explain.html
alter-table-stmt:
sql-stmt
References: column-def
See also: lang_altertable.html
analyze-stmt:
lang_analyze.html
attach-stmt:
expr
See also: lang_attach.html
begin-stmt:
lang_transaction.html
commit-stmt:
rollback-stmt:lang_savepoint.html savepoint-stmt:lang_savepoint.htmlrelease-stmt:
create-index-stmt:expr indexed-column
See also: lang_createindex.html partialindex.htmlindexed-column:
table-constraint
References: lang_createtable.html lang_createtable.html#primkeyconst lang_createtable.html#uniqueconst create-table-stmt:column-deftable-constraint
See also: lang_createtable.htmlcolumn-def:
create-table-stmt
References: column-constraint type-name
See also: lang_altertable.html lang_createtable.html#tablecoldeftype-name:
expr
References: signed-number
See also: lang_attach.html lang_createtrigger.html lang_createview.html lang_delete.html lang_expr.html lang_insert.html lang_select.html lang_select.html#compound lang_select.html#simpleselect lang_update.html lang_with.html column-constraint:column-def
References: conflict-clause foreign-key-clause literal-value signed-number:pragma-valuepartialindex.html pragma.html#Syntaxtable-constraint:
lang_createtable.html#tablecoldef lang_createtable.html#uniqueconstforeign-key-clause:
conflict-clause:lang_conflict.html lang_createtable.html#notnullconstcreate-trigger-stmt:
update-stmt
See also: lang_createtrigger.htmlcreate-view-stmt:
select-stmt
See also: lang_createview.htmlcreate-virtual-table-stmt:
lang_createvtab.htmlwith-clause:
update-stmt-limited
References: cte-table-name lang_with.htmlcte-table-name:
recursive-cte with-clause
See also: lang_with.html#recursivecterecursive-cte:
cte-table-name
See also: common-table-expression:compound-select-stmtfactored-select-stmt simple-select-stmt
References: delete-stmt:qualified-table-namelang_delete.htmldelete-stmt-limited:
ordering-term detach-stmt:lang_detach.htmldrop-index-stmt:
lang_dropindex.htmldrop-table-stmt:
lang_droptable.htmldrop-trigger-stmt:
lang_droptrigger.htmldrop-view-stmt:
lang_dropview.htmlexpr:
indexed-column join-constraint result-column select-core simple-select-stmt table-constraint table-or-subquery raise-function raise-function:lang_createtrigger.html#raiseliteral-value:numeric-literal:
See also: lang_expr.html#litvalueinsert-stmt:
lang_insert.htmlpragma-stmt:
pragma-value
See also: pragma-value:pragma-stmt
References: reindex-stmt:lang_reindex.htmlselect-stmt:
common-table-expression sql-stmt with-clause
References: compound-operator join-clause table-or-subquery
See also: lang_with.html#recursivecte join-clause:table-or-subquery
References: join-operator select-core:lang_select.html#simpleselectfactored-select-stmt:
select-core
See also: lang_select.htmlsimple-select-stmt:
compound-select-stmt:lang_select.html#compoundtable-or-subquery:
select-stmt
References: result-column:join-operator:join-clause
See also: lang_select.html#fromclause join-constraint:join-clause
References: ordering-term:compound-operator:update-stmt:lang_update.htmlupdate-stmt-limited:
qualified-table-name:update-stmt-limited
See also: lang_indexedby.html vacuum-stmt:lang_vacuum.htmlcomment-Syntax:
See also:lang_comment.html
本文摘自sqlite官网:
Syntax Diagrams For SQLite
原文链接:https://www.f2er.com/sqlite/199018.html