如何在mysql中为现有表创建新列? [英] How to create new Column to existing table in mysql?
本文介绍了如何在mysql中为现有表创建新列?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在mysql中为现有表创建新列?
How to create new Column to existing table in mysql?
推荐答案
您可以使用类似这样的内容
you can use something like this
ALTER TABLE table_name ADD new_column_name VARCHAR(60);
这是参考手册 [
here is the ref manual[^]
这篇关于如何在mysql中为现有表创建新列?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文