01 create datablse xscj
02 create table xs(
名字 类型(长度),
......
) character set utf8;
03create table kc(
名字 类型(长度),
......
) character set utf8;
04create table xs_kc(
名字 类型(长度),
......
) character set utf8;
05 增加列 alter table 原表名 add 新列名 新类型 新长度;
** 删除列 alter table 原表名 drop 原列名;
06**改表格名字
alter table 源表名 rename to 新表名;
07 08 没有搞明白副本啥意思
09 删除表 drop table 表格名字;
10
看数据库里面所有的表格信息
show tables;
11
describe 表名;
12
显示表格列信息
select 列名 from xs;
如果觉得内容还可以请点击一个采纳