Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

PostgreSQL Exam PGCES-02 Topic 2 Question 41 Discussion

Actual exam question for PostgreSQL's PGCES-02 exam
Question #: 41
Topic #: 2
[All PGCES-02 Questions]

I would like to enable all users to SELECT the "item" table. Select the most appropriate SQL statement from below.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Ramonita
1 minutes ago
Haha, 'C' and 'D' are clearly wrong. REVOKE 'r'? What is this, a pirate database?
upvoted 0 times
...
Otis
6 days ago
I was torn between options A and B, but B seems more precise in granting the SELECT privilege to the public.
upvoted 0 times
...
Winifred
7 days ago
I think option B is the correct answer. It grants the SELECT privilege to the public role on the 'item' table.
upvoted 0 times
...
Sena
9 days ago
I'm not sure, but I think option A) GRANT public SELECT ON item; could also be correct.
upvoted 0 times
...
Genevieve
10 days ago
I agree with Luis, because we want to grant the SELECT permission to the public group.
upvoted 0 times
...
Luis
12 days ago
I think the correct answer is B) GRANT SELECT ON item TO public.
upvoted 0 times
...

Save Cancel