SHOW GROUPS

The SHOW GROUPS command shows the list of groups on a cluster.

Syntax

SHOW GROUPS

Output

Column

Description

Groups

Groups

Remarks

  • A user with the SHOW METADATA or GRANT permission 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:

Was this article helpful?