Answers for "how to update sql table and add primary key in existing"

SQL
6

add primary key to existing table sql

alter table Persion add primary key (persionId,Pname,PMID)
Posted by: Guest on February-08-2021
0

add primary key to existing table sql

ALTER TABLE `tblauto`
  ADD PRIMARY KEY (`id`);

--
Posted by: Guest on May-03-2021

Code answers related to "how to update sql table and add primary key in existing"

Code answers related to "SQL"

Browse Popular Code Answers by Language