change table name sql query code example Example: sql change table name ALTER TABLE exampletable RENAME TO new_table_name;