SHOW GROUPS
On this page
The SHOW GROUPS command shows the list of groups on a cluster.
Syntax
SHOW GROUPSOutput
|
Column |
Description |
|---|---|
|
|
Groups |
Remarks
-
A user with the
SHOW METADATAorGRANTpermission can list all groups.Without these permissions, role visibility follows the general information schema access rules. Refer to Accessing the Information Schema for more information.
Example
SHOW GROUPS;
+---------+
| Groups |
+---------+
| group_0 |
+---------+
1 row in set (0.00 sec)Related Topics
Last modified: