How to rename a group in Redshift database

Below is the syntax to rename a group in Redshift database:

ALTER GROUP groupname   
RENAME TO new_groupname;
See also  How to get the first character of a string in Redshift database