Home > php教程 > php手册 > body text

MySql在已知数据表添加新字段的语句

WBOY
Release: 2016-06-13 11:37:21
Original
836 people have browsed it

今天,有一位初学PHP/mysql的朋友咨询帮客之家小编一个非常菜鸟的问题,就是如何在MySql已知数据表添加新字段的问题,对于高手来说只需要一个语句就可以了,现在把这个语句也分享给大家:

Copy to Clipboard引用的内容:[www.bkjia.com] ALTER TABLE `表名` ADD `字段名` int(11) NOT NULL DEFAULT '200';

编辑提示:

多学习,多记录,多总结,多收藏。

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template