Zmień nazwę tabeli sql
ALTER TABLE STUDENTS
RENAME TO ARTISTS;
.Ca7m
ALTER TABLE STUDENTS
RENAME TO ARTISTS;
ALTER TABLE exampletable RENAME TO new_table_name;
ALTER TABLE "table_name" RENAME COLUMN "column 1" TO "column 2";
MySQL:
ALTER TABLE Customer CHANGE Address Addr char(50);
Oracle:
ALTER TABLE Customer RENAME COLUMN Address TO Addr;
ALTER TABLE Student RENAME COLUMN NAME TO FIRST_NAME;
ALTER TABLE `Table Name` MODIFY COLUMN `Column Name` Datatype(Size);
ALTER TABLE `table_name`
CHANGE `old_name` `new_name` VARCHAR(10)
CHARACTER SET utf8
COLLATE utf8_general_ci NULL
DEFAULT NULL;