Home  >  Article  >  Database  >  How to delete data table primary key using phpmyadmin

How to delete data table primary key using phpmyadmin

王林
王林Original
2019-12-13 14:09:044520browse

How to delete data table primary key using phpmyadmin

First open the database where the primary key needs to be deleted

How to delete data table primary key using phpmyadmin

Then open the data table where the primary key needs to be deleted and click [SQL]

How to delete data table primary key using phpmyadmin

Then execute the SQL statement to delete

The syntax is as follows:

alter table tablename(数据表名) drop primary key

Recommended related article tutorials: phpmyadmin tutorial

The above is the detailed content of How to delete data table primary key using phpmyadmin. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn