how to use column rename postgresql in where code example
Example 1: rename table postgres
ALTER TABLE table_name
RENAME TO new_table_name;
Example 2: how to update column name in psql
ALTER TABLE order_details
RENAME TO order_information;
ALTER TABLE table_name
RENAME TO new_table_name;
ALTER TABLE order_details
RENAME TO order_information;