MySQL/DROP TABLE:修订间差异
来自康健生活
创建页面,内容为“== 引言 == 删除表。 <syntaxhighlight lang="mysql"> DROP TABLE md_group;</syntaxhighlight>” |
|||
| 第1行: | 第1行: | ||
== 引言 == | == 引言 == | ||
== 表 == | |||
删除表。 | 删除表。 | ||
<syntaxhighlight lang="mysql"> | <syntaxhighlight lang="mysql"> | ||
DROP TABLE md_group;</syntaxhighlight> | DROP TABLE md_group;</syntaxhighlight> | ||
== 字段 == | |||
删除字段。 | |||
<syntaxhighlight lang="mysql"> | |||
ALTER TABLE `md_version` DROP COLUMN `time`;</syntaxhighlight> | |||