Home »
MCQs »
MariaDB MCQs
Which is the correct MariaDB query for removing a default role for another user ('alex')?
50. Which is the correct MariaDB query for removing a default role for another user ('alex')?
- SET DEFAULT ROLE NONE FOR alex;
- SET DEFAULT ROLE NULL FOR alex;
- SET DEFAULT ROLE EMPTY FOR alex;
- SET DEFAULT ROLE REMOVE FOR alex;
Answer: A) SET DEFAULT ROLE NONE FOR alex;
Explanation:
The correct MariaDB query for removing a default role for another user ('alex') is:
Syntax:
SET DEFAULT ROLE NONE FOR alex;