# DROP GROUP
#### 功能描述
删除一个用户组。DROP GROUP与DROP ROLE为同义词。
#### 注意事项
DROP GROUP为GaussDB管理工具封装的接口，用于实现GaussDB管理。
不建议用户直接使用该操作，以免对GaussDB状态造成影响。
#### 语法格式
```
DROP GROUP [ IF EXISTS ] group_name [, ...];
```
![](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/figure/zh-cn_image_0000002793699445.png "点击放大")
#### 参数说明
- **IF EXISTS**
  判断指定的用户组是否存在。
  - 如果指定的用户组存在，则删除成功。
  
  - 如果指定的用户组不存在，不会进行删除操作，仅产生一个NOTICE提示，用于告知指定的用户组不存在。
   
- **group_name**
  要删除的用户组名称。
  取值范围：已存在的用户组/角色。
  
 
#### 示例
请参见[CREATE GROUP](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/gaussdb-38-0256.html)章节的[示例](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/gaussdb-38-0256.html#ZH-CN_TOPIC_0000002793779083__section1569610378316)**。**
#### 相关链接
[ALTER GROUP](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/gaussdb-38-0194.html)，[CREATE GROUP](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/gaussdb-38-0256.html)，[DROP ROLE](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/gaussdb-38-0327.html)
