-> To rename already existing table
Syntax:
ALTER TABLE table_name RENAME to new_table_name;
Eg:
Alter table attribute rename to attribute1;
-> To rename a column in table
ALTER TABLE attribute RENAME COLUMN attribute_id TO attr_id;