PostgreSQL_CE
PGCES-02 · Question #38
Select one incorrect statement about the command shown below. Note: $ is the command prompt. $ dropuser -U admin foo
The correct answer is B. If admin is notthe owner of foo, an error will occur. See the full explanation below for the reasoning.
Question
Select one incorrect statement about the command shown below. Note: $ is the command prompt. $ dropuser -U admin foo
Options
- AIf there is a databaseowned by foo, an error will occur.
- BIf admin is notthe owner of foo, an error will occur.
- CIf admin doesn't havethe superuser privilege, an error will occur.
- DThe user admin is removing the user foo.
- EThe same process can be performed using the SQL command "DROP USER".
How the community answered
(36 responses)- B83% (30)
- C8% (3)
- D6% (2)
- E3% (1)
Community Discussion
No community discussion yet for this question.