提交 07dc204a authored 作者: Thomas Mueller's avatar Thomas Mueller

Issue 572: MySQL compatibility for "order by" in update statements.

上级 69dc9db5
......@@ -59,7 +59,7 @@ INSERT INTO TEST VALUES(1, 'Hello')
UPDATE tableName [ [ AS ] newTableAlias ] SET
{ { columnName = { DEFAULT | expression } } [,...] } |
{ ( columnName [,...] ) = ( select ) }
[ WHERE expression ] [ ORDER BY order [,...] ] [ LIMIT expression ]
[ WHERE expression ] [ LIMIT expression ] [ ORDER BY order [,...] ]
","
Updates data in a table.
ORDER BY is supported for MySQL compatibility, but it is ignored.
......
......@@ -22,7 +22,7 @@ Inserts a new row / new rows into a table."
UPDATE tableName [ [ AS ] newTableAlias ] SET
{ { columnName = { DEFAULT | expression } } [,...] } |
{ ( columnName [,...] ) = ( select ) }
[ WHERE expression ] [ LIMIT expression ]
[ WHERE expression ] [ LIMIT expression ] [ ORDER BY order [,...] ]
","
Updates data in a table."
"Commands (DML)","DELETE","
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论