Create a user named marti on localhost with a password of tick3t, who has ALL privileges on the duck_sales table, and then revoke the DELETE, DROP, and ALTER privileges. : Password « User Permission « SQL / MySQL
Create a user named marti on localhost with a password of tick3t, who has ALL privileges on the duck_sales table, and then revoke the DELETE, DROP, and ALTER privileges.
GRANT ALL ON duckwear.duck_sales TO marti@localhost IDENTIFIED BY "tick3t";
REVOKE DELETE, DROP, ALTER ON duckwear.duck_sales FROM marti@localhost;
SHOW GRANTS FOR marti@localhost;