SQLite语法图表 - Syntax Diagrams For SQLite

前端之家收集整理的这篇文章主要介绍了SQLite语法图表 - Syntax Diagrams For SQLite前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

sqlite语法图表

Syntax Diagrams For sqlite

首先,这个图表很直观,以“sqlite查询语句”(select-stmt)为例:


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.html

release-stmt:

create-index-stmt:
expr indexed-column

See also: lang_createindex.html partialindex.html

indexed-column:

table-constraint

References: lang_createtable.html lang_createtable.html#primkeyconst lang_createtable.html#uniqueconst create-table-stmt:
column-def table-constraint

See also: lang_createtable.html

column-def:

create-table-stmt

References: column-constraint type-name

See also: lang_altertable.html lang_createtable.html#tablecoldef

type-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-value partialindex.html pragma.html#Syntax

table-constraint:

lang_createtable.html#tablecoldef lang_createtable.html#uniqueconst

foreign-key-clause:

conflict-clause:
lang_conflict.html lang_createtable.html#notnullconst

create-trigger-stmt:

update-stmt

See also: lang_createtrigger.html

create-view-stmt:

select-stmt

See also: lang_createview.html

create-virtual-table-stmt:

lang_createvtab.html

with-clause:

update-stmt-limited

References: cte-table-name lang_with.html

cte-table-name:

recursive-cte with-clause

See also: lang_with.html#recursivecte

recursive-cte:

cte-table-name

See also: common-table-expression:
compound-select-stmt factored-select-stmt simple-select-stmt

References: delete-stmt:
qualified-table-name lang_delete.html

delete-stmt-limited:

ordering-term detach-stmt:
lang_detach.html

drop-index-stmt:

lang_dropindex.html

drop-table-stmt:

lang_droptable.html

drop-trigger-stmt:

lang_droptrigger.html

drop-view-stmt:

lang_dropview.html

expr:

indexed-column join-constraint result-column select-core simple-select-stmt table-constraint table-or-subquery raise-function raise-function:
lang_createtrigger.html#raise literal-value:
numeric-literal:




See also: lang_expr.html#litvalue

insert-stmt:

lang_insert.html

pragma-stmt:

pragma-value

See also: pragma-value:
pragma-stmt

References: reindex-stmt:
lang_reindex.html

select-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#simpleselect

factored-select-stmt:

select-core

See also: lang_select.html

simple-select-stmt:

compound-select-stmt:
lang_select.html#compound

table-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.html

update-stmt-limited:

qualified-table-name:
update-stmt-limited

See also: lang_indexedby.html vacuum-stmt:
lang_vacuum.html

comment-Syntax:





See also:lang_comment.html


本文摘自sqlite官网: Syntax Diagrams For SQLite
原文链接:https://www.f2er.com/sqlite/199018.html

猜你在找的Sqlite相关文章