
Ultimate access to all questions.
A new data engineering team has been assigned to an ELT project. The new data engineering team will need full privileges on the table sales to fully manage the project.
Which command can be used to grant full permissions on the database to the new data engineering team?
A
GRANT ALL PRIVILEGES ON TABLE sales TO team;
B
GRANT SELECT CREATE MODIFY ON TABLE sales TO team;
C
GRANT SELECT ON TABLE sales TO team;
D
GRANT ALL PRIVILEGES ON TABLE team TO sales;
Explanation:
The correct answer is A. GRANT ALL PRIVILEGES ON TABLE sales TO team;
GRANT ALL PRIVILEGES command is the standard SQL syntax for granting all available privileges on a database object to a user or role.ON TABLE sales correctly specifies the target table.TO team correctly specifies the recipient (user or role) receiving the privileges.ALL PRIVILEGES grants all available permissions including SELECT, INSERT, UPDATE, DELETE, CREATE, MODIFY, DROP, etc.ALL PRIVILEGES for granting all permissions.GRANT ALL PRIVILEGES is the correct way to grant all available permissions on a table.GRANT <privileges> ON <object_type> <object_name> TO <user_or_role>GRANT SELECT, INSERT, UPDATE, DELETE ON TABLE sales TO team; but ALL PRIVILEGES is the most comprehensive.