I am trying to add primary key to newly added column in existing table name Product_Details.
Product_Details
New Column added: Product_Detail_ID (int
Product_Detail_ID
int
In mysql, I was able to achieve with following query
ALTER TABLE table_name ADD new_column int NOT NULL AUTO_INCREMENT primary key