QuestionQ209

VerifiedControlling User Access

User Alice wants to grant all users query privileges on her DEPT table. Which SQL statement achieves this?

Explanation

SELECT is the table object privilege that allows users to query a table. In Oracle, granting a privilege to PUBLIC makes it available to every database user; therefore, granting SELECT on DEPT to PUBLIC meets the requirement.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!