mysql对表的操作

增:

  create table 表名(字段名+数据类型+特性);

删:

  drop table 表名

改:

  rename table 表名 to 新表名;

  alter table 表名 character set gbk;

查:

  show tables;

  desc 表名;

  show create table 表名;

posted @ 2019-11-01 10:41  小天可以  阅读(232)  评论(0编辑  收藏  举报