Small. Fast. Reliable.
Choose any three.
首页
Menu
关于
文档
下载
执照
支持
购买
教程
网站转手
Search
About
Documentation
Download
Support
Purchase
Search Documentation
Search Changelog
SQLite的语法图
集合函数调用:
aggregate-func
(
DISTINCT
expr
)
filter-clause
,
*
参考:
expr
filter-clause
另请参见:
lang_aggfunc.html
lang_expr.html#booleanexpr
alter-table-stmt:
ALTER
TABLE
schema-name
.
table-name
RENAME
TO
new-table-name
RENAME
COLUMN
column-name
TO
new-column-name
ADD
COLUMN
column-def
DROP
COLUMN
column-name
用法
:
sql-stmt
参考:
column-def
另请参见:
lang_altertable.html
分析-stmt:
ANALYZE
schema-name
.
table-or-index-name
schema-name
index-or-table-name
用法
:
sql-stmt
另请参见:
lang_analyze.html
attach-stmt:
ATTACH
DATABASE
expr
AS
schema-name
用法
:
sql-stmt
参考:
expr
另请参见:
lang_attach.html
begin-stmt:
BEGIN
EXCLUSIVE
TRANSACTION
DEFERRED
IMMEDIATE
用法
:
sql-stmt
另请参见:
lang_transaction.html
列约束:
CONSTRAINT
name
PRIMARY
KEY
DESC
conflict-clause
AUTOINCREMENT
ASC
NOT
NULL
conflict-clause
UNIQUE
conflict-clause
CHECK
(
expr
)
DEFAULT
(
expr
)
literal-value
signed-number
COLLATE
collation-name
foreign-key-clause
GENERATED
ALWAYS
AS
(
expr
)
VIRTUAL
STORED
用法
:
column-def
参考:
冲突子句
expr
外键子句
文字值带
符号的数字
另请参见:
gencol.html
lang_altertable.html
lang_createtable.html
lang_createtable.html#tablecoldef
列定义:
column-name
type-name
column-constraint
用法
:
alter-table-stmt
create-table-stmt
参考:
列约束
类型名称
另请参见:
lang_altertable.html
lang_altertable.html#altertabaddcol
lang_createtable.html
lang_createtable.html#tablecoldef
列名列表:
(
column-name
)
,
用法
:
update-stmt
update-stmt-limited
upsert-clause
也请参阅:
lang_createtrigger.html
lang_insert.html
lang_update.html
lang_upsert.html
注释语法:
--
anything-except-newline
newline
end-of-input
/*
anything-except-*/
*/
另请参阅:
lang_comment.html
commit-stmt:
COMMIT
TRANSACTION
END
用法
:
sql-stmt
另请参见:
lang_transaction.html
common-table-expression:
table-name
(
column-name
)
AS
NOT
MATERIALIZED
(
select-stmt
)
,
使用者:
复合选择stmt
删除stmt
删除stmt受限的
分解因子选择stmt
插入stmt
选择stmt
简单选择stmt
更新stmt
更新stmt受限
引用:
select-stmt
另请参见:
lang_aggfunc。 HTML
lang_altertable.html
lang_attach.html
lang_createindex.html
lang_createtable.html
lang_createtrigger.html
lang_createview.html
lang_delete.html
lang_expr.html
lang_insert.html
lang_returning.html
lang_select.html
lang_select.html#化合物
lang_select.html#simpleselect
lang_update.html
lang_upsert.html
lang_with.html
partialindex.html
复合运算符:
UNION
UNION
INTERSECT
EXCEPT
ALL
使用者
:
factored-select-stmt
select-stmt
另请参见:
lang_aggfunc.html
lang_altertable.html
lang_attach.html
lang_createindex.html
lang_createtable.html
lang_createtrigger.html
lang_createview.html
lang_delete.html
lang_expr.html
lang_insert.html
lang_return.html
lang_select.html#compound
lang_select.html#simpleselect
lang_update.html
lang_upsert.html
lang_with.html
partialindex.html
compound-select-stmt:
WITH
RECURSIVE
common-table-expression
,
select-core
ORDER
BY
LIMIT
expr
UNION
UNION
ALL
select-core
INTERSECT
EXCEPT
ordering-term
,
OFFSET
expr
,
expr
参考:
common-table-expression
expr
订购条款
select-core
另请参见:
lang_select.html#compound
冲突条款:
ON
CONFLICT
ROLLBACK
ABORT
FAIL
IGNORE
REPLACE
用法
:
列约束
表约束
也请参阅:
lang_altertable.html
lang_conflict.html
lang_createtable.html
lang_createtable.html#notnullconst
create-index-stmt:
CREATE
UNIQUE
INDEX
IF
NOT
EXISTS
schema-name
.
index-name
ON
table-name
(
indexed-column
)
,
WHERE
expr
用法
:
sql-stmt
参考:
expr
indexed-column
另请参见:
lang_createindex.html
partialindex.html
创建表stmt:
CREATE
TEMP
TEMPORARY
TABLE
IF
NOT
EXISTS
schema-name
.
table-name
(
column-def
table-constraint
,
)
WITHOUT
ROWID
,
AS
select-stmt
用法
:
sql-stmt
参考:
column-def
select-stmt
table-constraint
另请参见:
lang_createtable.html
create-trigger-stmt:
CREATE
TEMP
TEMPORARY
TRIGGER
IF
NOT
EXISTS
schema-name
.
trigger-name
BEFORE
AFTER
INSTEAD
OF
DELETE
INSERT
UPDATE
OF
column-name
,
ON
table-name
FOR
EACH
ROW
WHEN
expr
BEGIN
update-stmt
;
END
insert-stmt
delete-stmt
select-stmt
用法
:
sql-stmt
参考:
delete-stmt
expr
insert-stmt
select-stmt
update-stmt
另请参见:
lang_createtrigger.html
创建视图stmt:
CREATE
TEMP
TEMPORARY
VIEW
IF
NOT
EXISTS
schema-name
.
view-name
(
column-name
)
AS
select-stmt
,
用法
:
sql-stmt
参考:
select-stmt
另请参见:
lang_createview.html
创建虚拟表stmt:
CREATE
VIRTUAL
TABLE
IF
NOT
EXISTS
schema-name
.
table-name
USING
module-name
(
module-argument
)
,
用法
:
sql-stmt
另请参见:
lang_createvtab.html
cte-table-name:
table-name
(
column-name
)
,
用法
:
recursive-
cte
with-clause
另请参见:
lang_with.html
lang_with.html#recursivecte
delete-stmt:
WITH
RECURSIVE
common-table-expression
,
DELETE
FROM
qualified-table-name
returning-clause
expr
WHERE
用法:
create-trigger-stmt
sql-stmt
参考:
common-table-expression
expr
限定表名
returning-clause
也请参见:
lang_createtrigger.html
lang_delete.html
delete-stmt-limited:
WITH
RECURSIVE
common-table-expression
,
DELETE
FROM
qualified-table-name
WHERE
expr
returning-clause
ORDER
BY
ordering-term
,
LIMIT
expr
OFFSET
expr
,
expr
用法
:
sql-stmt
参考:
common-table-expression
expr
排序项
限定表名
returning-clause
也请参见:
lang_delete.html
detach-stmt:
DETACH
DATABASE
schema-name
用法
:
sql-stmt
另请参见:
lang_detach.html
drop-index-stmt:
DROP
INDEX
IF
EXISTS
schema-name
.
index-name
用法
:
sql-stmt
另请参见:
lang_dropindex.html
drop-table-stmt:
DROP
TABLE
IF
EXISTS
schema-name
.
table-name
用法
:
sql-stmt
另请参见:
lang_droptable.html
drop-trigger-stmt:
DROP
TRIGGER
IF
EXISTS
schema-name
.
trigger-name
用法
:
sql-stmt
另请参见:
lang_droptrigger.html
drop-view-stmt:
DROP
VIEW
IF
EXISTS
schema-name
.
view-name
用法
:
sql-stmt
另请参见:
lang_dropview.html
expr:
literal-value
bind-parameter
schema-name
.
table-name
.
column-name
unary-operator
expr
expr
binary-operator
expr
function-name
(
DISTINCT
expr
)
filter-clause
over-clause
,
*
(
expr
)
,
CAST
(
expr
AS
type-name
)
expr
COLLATE
collation-name
expr
NOT
LIKE
GLOB
REGEXP
MATCH
expr
ESCAPE
expr
expr
ISNULL
NOTNULL
NOT
NULL
expr
IS
NOT
expr
expr
NOT
BETWEEN
expr
AND
expr
expr
NOT
IN
(
select-stmt
)
expr
,
schema-name
.
table-function
(
expr
)
table-name
,
NOT
EXISTS
(
select-stmt
)
CASE
expr
WHEN
expr
THEN
expr
ELSE
expr
END
raise-function
用法:
聚合函数调用
attach-stmt
列约束
复合选择stmt
创建索引index-stmt
create-trigger-stmt
delete-stmt
delete-stmt-limited
-factored-select-stmt
过滤器子句
框架规范
索引-列
insert-stmt
加入约束
排序项
子句过
结果列
返回子句
select-core
select-stmt
简单函数调用
simple-select-stmt
table-constraint
表或子查询
update-stmt
update-stmt-有限
的向上
子句
窗口定义
window-function-invocation
参考:
filter-clause
文字值
超过子句
引发功能
select-stmt
类型名称
另请参见:
lang_aggfunc.html
lang_altertable.html
lang_attach.html
lang_createindex.html
lang_createtable.html
lang_createtrigger.html
lang_createview.html
lang_delete html的
lang_expr.html
lang_insert.html
lang_returning.html
lang_select.html
lang_select.html#化合物
lang_select.html#simpleselect
lang_update.html
lang_upsert.html
lang_with.html
partialindex.html
因数选择stmt:
WITH
RECURSIVE
common-table-expression
,
select-core
ORDER
BY
LIMIT
expr
compound-operator
ordering-term
,
OFFSET
expr
,
expr
参考:
common-table-expression
复合运算符
expr
排序项
select-core
另请参见:
lang_select.html
过滤器子句:
FILTER
(
WHERE
expr
)
用法
:
聚合函数调用
expr
窗口函数调用
参考:
expr
另请参见:
lang_aggfunc.html
lang_altertable.html
lang_attach.html
lang_createindex.html
lang_createtable.html
lang_createtrigger.html
lang_createview.html
lang_delete.html
lang_expert.html
lang
lang_returning.html
lang_select.html
lang_select.html#化合物
lang_select.html#simpleselect
lang_update.html
lang_upsert.html
lang_with.html
partialindex.html
外键子句:
REFERENCES
foreign-table
(
column-name
)
,
ON
DELETE
SET
NULL
UPDATE
SET
DEFAULT
CASCADE
RESTRICT
NO
ACTION
MATCH
name
NOT
DEFERRABLE
INITIALLY
DEFERRED
INITIALLY
IMMEDIATE
用法
:
列约束
表约束
也请参阅:
lang_altertable.html
lang_altertable.html#altertabaddcol
lang_createtable.html
框架规格:
GROUPS
BETWEEN
UNBOUNDED
PRECEDING
AND
UNBOUNDED
FOLLOWING
RANGE
ROWS
UNBOUNDED
PRECEDING
expr
PRECEDING
CURRENT
ROW
expr
PRECEDING
CURRENT
ROW
expr
FOLLOWING
expr
PRECEDING
CURRENT
ROW
expr
FOLLOWING
EXCLUDE
CURRENT
ROW
EXCLUDE
GROUP
EXCLUDE
TIES
EXCLUDE
NO
OTHERS
适用人群:
过度条款
窗口DEFN
参考文献:
EXPR
参见:
lang_aggfunc.html
lang_altertable.html
lang_attach.html
lang_createindex.html
lang_createtable.html
lang_createtrigger.html
lang_createview.html
lang_delete.html
lang_expr.html
lang_insert.html
lang_returning.html
lang_select。 html
lang_select.html#compound
lang_select.html#simpleselect
lang_update.html
lang_upsert.html
lang_with.html
partialindex.html
索引栏:
column-name
COLLATE
collation-name
DESC
expr
ASC
使用:
创建索引,语句
表约束
UPSERT子句
参考文献:
EXPR
参见:
lang_createindex.html
lang_createtable.html
lang_createtable.html#primkeyconst
lang_createtable.html#uniqueconst
lang_createtrigger.html
lang_insert.html
lang_upsert.html
partialindex.html
insert-stmt:
WITH
RECURSIVE
common-table-expression
,
REPLACE
INSERT
OR
ROLLBACK
INTO
ABORT
FAIL
IGNORE
REPLACE
schema-name
.
table-name
AS
alias
(
column-name
)
,
VALUES
(
expr
)
,
,
upsert-clause
select-stmt
upsert-clause
DEFAULT
VALUES
returning-clause
用法:
create-trigger-stmt
sql-stmt
参考:
common-table-expression
expr
returning-clause
select-stmt
upsert-clause
另请参见:
lang_createtrigger.html
lang_insert.html
加盟条款:
table-or-subquery
join-operator
table-or-subquery
join-constraint
用法:
select-core
select-stmt
表或子查询
update-stmt
update-stmt-limited
参考:
join-constraint
join-operator
表或子查询
另请参见:
lang_aggfunc.html
lang_altertable.html
lang_attach.html
lang_createindex.html
lang_createtable.html
lang_createtrigger.html
lang_createview.html
lang_delete.html
lang_expr.html
lang_insert.html
lang_returning.html
lang_select.html
lang_select.html#compound
lang_select.html#simpleselect
lang_update.html
lang_upsert.html
lang_with。
partialindex.html
连接约束:
USING
(
column-name
)
,
ON
expr
适用人群:
加入子句
参考文献:
EXPR
参见:
lang_aggfunc.html
lang_altertable.html
lang_attach.html
lang_createindex.html
lang_createtable.html
lang_createtrigger.html
lang_createview.html
lang_delete.html
lang_expr.html
lang_insert.html
lang_returning.html
lang_select.html
lang_select。 HTML#化合物
lang_select.html#fromclause
lang_select.html#simpleselect
lang_update.html
lang_upsert.html
lang_with.html
partialindex.html
加入运营商:
NATURAL
LEFT
OUTER
JOIN
,
INNER
CROSS
适用人群:
加入从句
参见:
lang_aggfunc.html
lang_altertable.html
lang_attach.html
lang_createindex.html
lang_createtable.html
lang_createtrigger.html
lang_createview.html
lang_delete.html
lang_expr.html
lang_insert.html
lang_returning.html
lang_select.html
lang_select.html#复合
lang_select.html#fromclause
lang_select.html#simpleselect
lang_update.html
lang_upsert.html
lang_with.html
partialindex.html
文字值:
CURRENT_TIMESTAMP
numeric-literal
string-literal
blob-literal
NULL
TRUE
FALSE
CURRENT_TIME
CURRENT_DATE
适用人群:
列约束
EXPR
参见:
lang_aggfunc.html
lang_altertable.html
lang_attach.html
lang_createindex.html
lang_createtable.html
lang_createtrigger.html
lang_createview.html
lang_delete.html
lang_expr.html
lang_insert.html
lang_returning.html
lang_select.html
lang_select.html#复合
lang_select.html#simpleselect
lang_update.html
lang_upsert.html
lang_with.html
partialindex.html
数字字面量:
digit
.
E
e
digit
.
digit
-
digit
+
0x
hexdigit
另请参阅:
lang_expr.html#litvalue
订购期限:
expr
COLLATE
collation-name
DESC
ASC
NULLS
FIRST
NULLS
LAST
适用人群:
复合选择-语句
删除,语句限制
因素-选择-语句
在子句
选择,语句
简单选择-语句
更新语句,有限的
窗口DEFN
参考文献:
EXPR
参见:
lang_aggfunc.html
lang_altertable.html
lang_attach .html
lang_createindex.html
lang_createtable.html
lang_createtrigger.html
lang_createview.html
lang_delete.html
lang_expr.html
lang_insert.html
lang_returning.html
lang_select.html
lang_select.html#compound
lang_select.html#simpleselect
lang_update.html
lang_update.html
lang_with.html
partialindex.html
子句:
OVER
window-name
(
base-window-name
PARTITION
BY
expr
,
ORDER
BY
ordering-term
,
frame-spec
)
使用:
expr的
参考文献:
expr的
框架规范
有序的长期
参见:
lang_aggfunc.html
lang_altertable.html
lang_attach.html
lang_createindex.html
lang_createtable.html
lang_createtrigger.html
lang_createview.html
lang_delete.html
lang_expr.html
lang_insert.html
lang_returning.html
lang_select .html
lang_select.html#compound
lang_select.html#simpleselect
lang_update.html
lang_upsert.html
lang_with.html
partialindex.html
pragma-stmt:
PRAGMA
schema-name
.
pragma-name
(
pragma-value
)
=
pragma-value
用法
:
sql-stmt
参考:
pragma-value
另请参见:
pragma.html#syntax
语用价值:
signed-number
name
signed-literal
用法
:
pragma-stmt
参考:
签名编号
另请参见:
pragma.html#syntax
限定表名称:
schema-name
.
table-name
AS
alias
INDEXED
BY
index-name
NOT
INDEXED
用法
:
delete-stmt
delete-stmt-limited
update-stmt
update-stmt-limited
另请参见:
lang_createtrigger.html
lang_delete.html
lang_indexedby.html
lang_update.html
提升功能:
RAISE
(
ROLLBACK
,
error-message
)
IGNORE
ABORT
FAIL
适用人群:
EXPR
参见:
lang_aggfunc.html
lang_altertable.html
lang_attach.html
lang_createindex.html
lang_createtable.html
lang_createtrigger.html
lang_createtrigger.html#加薪
lang_createview.html
lang_delete.html
lang_expr.html
lang_insert.html
lang_returning.html
lang_select.html
lang_select。 html#compound
lang_select.html#simpleselect
lang_update.html
lang_upsert.html
lang_with.html
partialindex.html
递归cte:
cte-table-name
AS
(
initial-select
UNION
ALL
recursive-select
)
UNION
参考:
cte
-table-name
另请参见:
lang_with.html#recursivecte
reindex-stmt:
REINDEX
schema-name
.
index-name
table-name
collation-name
用法
:
sql-stmt
另请参见:
lang_reindex.html
release-stmt:
RELEASE
SAVEPOINT
savepoint-name
用法
:
sql-stmt
另请参见:
lang_savepoint.html
结果栏:
expr
AS
column-alias
*
table-name
.
*
使用:
选择核心
选择-语句
引用:
EXPR
参见:
lang_aggfunc.html
lang_altertable.html
lang_attach.html
lang_createindex.html
lang_createtable.html
lang_createtrigger.html
lang_createview.html
lang_delete.html
lang_expr.html
lang_insert.html
lang_returning.html
lang_select。 html
lang_select.html#compound
lang_select.html#simpleselect
lang_update.html
lang_upsert.html
lang_with.html
partialindex.html
返回条款:
RETURNING
expr
AS
column-alias
*
,
用法
:
delete-stmt
delete-stmt-limited
插入-stmt
update-stmt
update-stmt-limited
参考:
expr
另请参见:
lang_createtrigger.html
lang_delete.html
lang_insert.html
lang_returning.html
lang_update.html
rollback-stmt:
ROLLBACK
TRANSACTION
TO
SAVEPOINT
savepoint-name
用法
:
sql-stmt
另请参见:
lang_savepoint.html
lang_transaction.html
savepoint-stmt:
SAVEPOINT
savepoint-name
用法
:
sql-stmt
另请参见:
lang_savepoint.html
选择核心:
SELECT
DISTINCT
result-column
,
ALL
FROM
table-or-subquery
join-clause
,
WHERE
expr
GROUP
BY
expr
HAVING
expr
,
WINDOW
window-name
AS
window-defn
,
VALUES
(
expr
)
,
,
用法:
compound-select-stmtfactored
-select-stmt
simple-select-stmt
参考:
expr
join-clause
result-column
表或子查询
另请参见:
lang_select.html
lang_select.html#compound
lang_select.html#simpleselect
select-stmt:
WITH
RECURSIVE
common-table-expression
,
SELECT
DISTINCT
result-column
,
ALL
FROM
table-or-subquery
join-clause
,
WHERE
expr
GROUP
BY
expr
HAVING
expr
,
WINDOW
window-name
AS
window-defn
,
VALUES
(
expr
)
,
,
compound-operator
select-core
ORDER
BY
LIMIT
expr
ordering-term
,
OFFSET
expr
,
expr
用法:
common-table-expression
create-table-stmt
create-trigger-stmt
create-view-stmt
expr
insert-stmt
sql-stmt
带子句的
表或子查询
参考:
common-table-expression
复合运算符
expr
join -clause
排序项
结果
列表或子查询,
另请参见:
changes.html#version_3_35_3
lang_aggfunc.html
lang_altertable.html
lang_attach.html
lang_createindex.html
lang_createtable.html
lang_createtrigger.html
lang_createview.html
lang_delete.html
lang
lang_insert.html
lang_returning.html
lang_select.html
lang_select.html#化合物
lang_select.html#simpleselect
lang_update.html
lang_upsert.html
lang_with.html
lang_with.html#recursivecte
partialindex.html
releaselog / 3_35_3.html
releaselog / 3_35_4.html
releaselog / 3_35_5。 html
签名编号:
+
numeric-literal
-
适用人群:
列约束
语用值
类型名称
参见:
lang_aggfunc.html
lang_altertable.html
lang_attach.html
lang_createindex.html
lang_createtable.html
lang_createtrigger.html
lang_createview.html
lang_delete.html
lang_expr.html
lang_insert.html
lang_returning.html
lang_select。 html
lang_select.html#compound
lang_select.html#simpleselect
lang_update.html
lang_upsert.html
lang_with.html
partialindex.html
pragma.html#syntax
简单功能调用:
simple-func
(
expr
)
,
*
参考:
expr
另请参见:
lang_expr.html#booleanexpr
简单选择stmt:
WITH
RECURSIVE
common-table-expression
,
select-core
ORDER
BY
LIMIT
expr
ordering-term
,
OFFSET
expr
,
expr
参考:
common-table-expression
expr
排序项
select-core
另请参见:
lang_select.html#simpleselect
sql-stmt:
EXPLAIN
QUERY
PLAN
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
用法
:
sql-stmt-list
参考:
alter-table-stmt
分析-stmt
attach-stmt
begin-stmt
提交-stmt
创建索引-stmt
创建表-stmt
创建触发器-stmt
创建视图-stmt
创建虚拟-table-stmt
delete-stmt
delete-stmt-limited
分离-stmt
drop-index-stmt
drop-table-stmt
drop-trigger-stmt
drop-view-stmt
insert-stmt
pragma-stmt
reindex-stmt
版本-stmt
rollback-stmt
savepoint-stmt
select-stmt
update-stmt
update-stmt-limited
vacuum-stmt
另请参见:
lang.html
lang_explain.html
sql-stmt-list:
sql-stmt
;
参考:
sql-stmt
另请参见:
lang.html
表约束:
CONSTRAINT
name
PRIMARY
KEY
(
indexed-column
)
conflict-clause
,
UNIQUE
CHECK
(
expr
)
FOREIGN
KEY
(
column-name
)
foreign-key-clause
,
使用者
:
create-table-stmt
参考:
冲突子句
expr
外键子句
索引列
另请参见:
lang_createtable.html
lang_createtable.html#primkeyconst
lang_createtable.html#tablecoldef
lang_createtable.html#uniqueconst
表或子查询:
schema-name
.
table-name
AS
table-alias
INDEXED
BY
index-name
NOT
INDEXED
table-function-name
(
expr
)
,
AS
table-alias
(
select-stmt
)
(
table-or-subquery
)
,
join-clause
用法:
join-clause
select-core
select-stmt
update-stmt
update-stmt-limited
参考:
expr
join-clause
select-stmt
另请参见:
lang_aggfunc.html
lang_altertable.html
lang_attach.html
lang_createindex.html
lang_createtable.html
lang_createtrigger.html
lang_createview.html
lang_delete.html
lang_expr.html
lang_insert.html
lang_returning.html
lang_select.html
lang_select.html#化合物
lang_select.html#simpleselect
lang_update.html
lang_upsert.html
lang_with.html
partialindex.html
类型名称:
name
(
signed-number
,
signed-number
)
(
signed-number
)
适用人群:
列DEF
EXPR
参考文献:
签号码
参见:
lang_aggfunc.html
lang_altertable.html
lang_attach.html
lang_createindex.html
lang_createtable.html
lang_createtrigger.html
lang_createview.html
lang_delete.html
lang_expr.html
lang_insert.html
lang_returning.html
lang_select。 html
lang_select.html#compound
lang_select.html#simpleselect
lang_update.html
lang_upsert.html
lang_with.html
partialindex.html
update-stmt:
WITH
RECURSIVE
common-table-expression
,
UPDATE
OR
ROLLBACK
qualified-table-name
OR
REPLACE
OR
IGNORE
OR
FAIL
OR
ABORT
SET
column-name-list
=
expr
column-name
,
FROM
table-or-subquery
,
join-clause
WHERE
expr
returning-clause
用法:
create-trigger-stmt
sql-stmt
参考:
列名列表
common-table-expression
expr
联接
子句
合格表名
returning-clause
表或子查询
另请参见:
lang_createtrigger.html
lang_update.html
update-stmt-limited:
WITH
RECURSIVE
common-table-expression
,
UPDATE
OR
ROLLBACK
qualified-table-name
OR
REPLACE
OR
IGNORE
OR
FAIL
OR
ABORT
SET
column-name-list
=
expr
column-name
,
FROM
table-or-subquery
,
join-clause
WHERE
expr
returning-clause
ORDER
BY
ordering-term
,
LIMIT
expr
OFFSET
expr
,
expr
用法
:
sql-stmt
参考:
列名列表
common-table-expression
expr
联接
子句
排序项
限定表名
returning-clause
表或子查询
另请参见:
lang_update.html#upfrom
附加条款:
ON
CONFLICT
(
indexed-column
)
WHERE
expr
DO
,
conflict target
UPDATE
SET
column-name-list
=
expr
WHERE
expr
NOTHING
,
column-name
使用者
:
insert-stmt
参考:
列名列表
expr
索引列
另请参见:
lang_createtrigger.html
lang_insert.html
lang_upsert.html
vacuum-stmt:
VACUUM
schema-name
INTO
filename
用法
:
sql-stmt
另请参见:
lang_vacuum.html
窗口定义:
(
base-window-name
PARTITION
BY
expr
,
ORDER
BY
ordering-term
,
frame-spec
)
使用者:
window-function-invocation
参考:
expr
frame-spec
排序术语
窗口函数调用:
window-func
(
expr
)
filter-clause
OVER
window-name
window-defn
,
*
参考:
expr
filter-clause
window-defn
另请参见:
lang_expr.html#booleanexpr
附带条款:
WITH
RECURSIVE
cte-table-name
AS
NOT
MATERIALIZED
(
select-stmt
)
MATERIALIZED
,
参考:
cte-table-name
select-stmt
另请参见:
lang_with.html