alter table add colne
时间: 2023-09-23 16:06:45 浏览: 84
alter table test rename test1; --修改表名alter table test add colum
There is a typo in your statement.
The correct syntax to add a column to an existing table is:
```
ALTER TABLE table_name ADD column_name data_type;
```
For example, to add a column called "email" of type VARCHAR(255) to a table called "users", the statement would be:
```
ALTER TABLE users ADD email VARCHAR(255);
```
阅读全文