diff --git a/doc/sql/query.ebnf b/doc/sql/query.ebnf index ea55154ffb726c163fb7618fb61ab8df9088998f..fd24ed2c17b2eb5f1c21dc5a9de01f0e28e384c5 100644 --- a/doc/sql/query.ebnf +++ b/doc/sql/query.ebnf @@ -63,11 +63,8 @@ call ::= 'CALL' procedure '(' literal? (',' literal)* ')' delete ::= 'DELETE' 'FROM' table ('WHERE' expression)? insert ::= 'INSERT' 'INTO' table ('(' column (',' column)* ')')? (values | select) ('ON' 'CONFLICT' 'DO' ('NOTHING' | 'REPLACE' | 'FAIL'))? -update ::= 'UPDATE' table - 'SET' ( - column '=' expression - (',' column '=' expression)* - ) +update ::= 'UPDATE' table 'SET' + column '=' expression (',' column '=' expression)* ('FROM' scan)? ('WHERE' expression)? acl ::= (alter_user | create_role | create_user | drop_role | drop_user | grant | revoke)