Modifying Mysql Databases and Updating Data in Mysql Table
Modifying Mysql Databases and Updating Data in Mysql Table
alter table student add column
salary int unique not null,
add column dd int not null;
• Changing columns constraints using MySQL ALTER TABLE statement
ALTER TABLE persons_info DROP PRIMARY KEY, ADD PRIMARY KEY(salary, age);