How to Rename a Table in PostgreSQL

alter table events rename to events_backup;
Cta

Shared queries and folders ✅ Version history ✅ One-click connection to PostgreSQL ✅

Get more done, together, with PopSQL and PostgreSQL