This example renames the table my_table to my_renamed_table:

ALTER TABLE my_table RENAME TO my_renamed_table;

Get started with DB Pilot

DB Pilot is a Database GUI client and SQL editor for PostgreSQL, MySQL, SQLite, DuckDB & more.