No, there is a spelling mistake in the query. 'cloumn' should be 'column'. The correct query is:

ALTER TABLE iot_product_version ADD COLUMN CHANNEL_MODEL_VERSION varchar(16) DEFAULT NULL COMMENT '通道版本';

This query adds a new column named 'CHANNEL_MODEL_VERSION' to the 'iot_product_version' table with a data type of varchar(16) and a default value of NULL. It also adds a comment to describe the column's purpose.

SQL 语法错误: alter table 添加列 cloumn 应改为 column

原文地址: https://www.cveoy.top/t/topic/oaUT 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录