mysql 虚拟列创建 alter table 表名 add column 虚拟列名 decimal(10,2) GENERATED ALWAYS AS (需要做的操作 例如[列a + 列b]) COMMENT 列说明;