
Ultimate access to all questions.
Question 45
A new data engineer new.engineer@company.com has been assigned to an ELT project. The new data engineer will need full privileges on the table sales to fully manage the project.
Which of the following commands can be used to grant full permissions on the table to the new data engineer?
Explanation:
Let's analyze each option:
A. GRANT ALL PRIVILEGES ON TABLE sales TO new.engineer@company.com; ✅
ALL PRIVILEGES grants all available privileges on the table, including SELECT, INSERT, UPDATE, DELETE, CREATE, MODIFY, etc.GRANT ALL PRIVILEGES ON TABLE <table_name> TO <user>;B. GRANT USAGE ON TABLE sales TO new.engineer@company.com; ❌
C. GRANT ALL PRIVILEGES ON TABLE new.engineer@company.com TO sales; ❌
D. GRANT SELECT ON TABLE sales TO new.engineer@company.com; ❌
E. GRANT SELECT CREATE MODIFY ON TABLE sales TO new.engineer@company.com; ❌
ALL PRIVILEGES.Key Points:
ALL PRIVILEGES is the standard SQL command for granting full permissions on database objectsGRANT ALL PRIVILEGES ON TABLE <table_name> TO <user_or_role>;