ALTER TABLE table_name ADD [CONSTRAINT 约束名] 约束条件(column); not null: ALTER TABLE table_name MODIFY(col type NOT NULL);