Home  >  Article  >  Database  >  How to modify mysql column name

How to modify mysql column name

coldplay.xixi
coldplay.xixiOriginal
2020-10-10 15:55:1516648browse

How to modify the mysql column name: First select a data table to be operated, and right-click to select the design table; then modify the field name directly in it, or modify the column name through the alter table statement. Can.

How to modify mysql column name

Related free learning recommendations: mysql database (Video)

##Modify Mysql column name method:

1. First select a data table to be operated on, as shown in the figure below

How to modify mysql column name

2. Then we You can directly right-click to select the design table, as shown in the figure below

How to modify mysql column name

3, and then modify the field name directly in it

How to modify mysql column name

4. You can also create a new query, as shown in the figure below.

How to modify mysql column name

5. Then modify the column name through the alter table statement as shown in the figure below. , as shown in the figure below

How to modify mysql column name

6. After executing the statement, we see that the list has been modified, as shown in the figure below

How to modify mysql column name

The above is the detailed content of How to modify mysql column name. 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