PostgreSQL: Change a Column Name

Here's an example of renaming a column in PostgreSQL:

alter table users rename column registered_at to created_at;
database icon
Shared queries and folders ✅ Version history ✅ One-click connection to PostgreSQL ✅
Get more done, together, with PopSQL and PostgreSQL