Check out example codes for "alert table name mysql". It will help you in understanding the concepts better.

Code Example 1

RENAME TABLE old_table TO new_table;

Code Example 2

add column in a table

Code Example 3

ALTER TABLE exampletable RENAME TO new_table_name;

Learn ReactJs, React Native from akashmittal.com