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

Code Example 1

ALTER TABLE STUDENTS  
RENAME TO ARTISTS;

Code Example 2

-- Microsoft SQL style
EXEC sp_rename 'TableOldName', 'TableNewName';

Code Example 3

ALTER TABLE "table_name" RENAME COLUMN "column 1" TO "column 2";

Learn ReactJs, React Native from akashmittal.com