Answers for "how to make a existing column as primary key in sql"

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 make a existing column as primary key in sql"

Code answers related to "SQL"

Browse Popular Code Answers by Language