mysql添加字段语句

select@num:=count(*)frominformation_schema.columnswheretable_schema='库名'andtable_name='表名'andCOLUMN_NAME='列名';if@num