From 9533d71856f1d0ccb191023937bffa7c16611aa3 Mon Sep 17 00:00:00 2001 From: Aolin Date: Thu, 12 Dec 2024 15:34:03 +0800 Subject: [PATCH] sql: fix the synopsis of `REVOKE ` Signed-off-by: Aolin --- sql-statements/sql-statement-revoke-privileges.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql-statements/sql-statement-revoke-privileges.md b/sql-statements/sql-statement-revoke-privileges.md index 91f326044e52c..9fb6f6681e9f5 100644 --- a/sql-statements/sql-statement-revoke-privileges.md +++ b/sql-statements/sql-statement-revoke-privileges.md @@ -10,8 +10,8 @@ This statement removes privileges from an existing user. Executing this statemen ## Synopsis ```ebnf+diagram -GrantStmt ::= - 'GRANT' PrivElemList 'ON' ObjectType PrivLevel 'TO' UserSpecList RequireClauseOpt WithGrantOptionOpt +RevokeStmt ::= + 'REVOKE' PrivElemList 'ON' ObjectType PrivLevel 'FROM' UserSpecList PrivElemList ::= PrivElem ( ',' PrivElem )*