How to rename a table in MySQL

RENAME TABLE oldTable TO newTable;

Replace oldTable with the table’s name that you want to rename and newTable with the new table name.

Image Credits: Photo by Isis França on Unsplash.

More Similar Posts

No results found.

Menu