I want to change the column name of a table.
That column name is (ID) and that is primary key and auto_increment column.
I found the query to change the column name is
Alter table mytable change ID, AppID INT(11);
But its throwing error, Because of the primary key. So i am trying to drop the primary key, But not able to drop primary key also.
How can i drop the primary key which has auto_increment in the same column.
Thanks.