Complete the code to grant SELECT permission on the table 'employees' to user 'john'.
GRANT [1] ON employees TO john;The SELECT permission allows the user to read data from the table.
Complete the code to revoke INSERT permission on the table 'products' from user 'alice'.
REVOKE [1] ON products FROM alice;The INSERT permission allows adding new rows. Revoking it stops the user from inserting data.
Fix the error in the code to grant UPDATE permission on 'orders' to user 'mike'.
GRANT [1] ON orders TO mike;The statement must end with a semicolon ; to be valid SQL.
Fill both blanks to grant DELETE and SELECT permissions on 'customers' to user 'emma'.
GRANT [1], [2] ON customers TO emma;
To grant multiple permissions, list them separated by commas. Here, DELETE and SELECT are correct.
Fill all three blanks to revoke SELECT and UPDATE permissions on 'inventory' from user 'dave'.
REVOKE [1], [2] ON inventory FROM [3];
We revoke SELECT and UPDATE permissions from user 'dave'.