CREATE TABLE table_name_A AS (SELECT * FROM table_name_B);
ALTER TABLE table_name RENAME TO new_name;
ALTER TABLE table_name ADD column_name datatype NOT NULL DEFAULT 1;
ALTER TABLE table_name DROP column_name;
ALTER TABLE table_name RENAME column_name to new_column_name;
ALTER TABLE table_name ALTER column_name TYPE datatype;
ALTER TABLE table_name ALTER column_name {SET|DROP} NOT NULL;
ALTER TABLE table_name ALTER column_name SET DEFAULT expression;
COMMENT ON COLUMN table_name.column_name IS 'desc';
CREATE INDEX 【index_name】 ON 【table_name】 USING btree (【column_name】);
CLUSTER 【table_name】 USING 【index_name】;