Answers for "how to add primary key in sql using alter"

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 add primary key in sql using alter"

Code answers related to "SQL"

Browse Popular Code Answers by Language