MySQL基本操作

来源:互联网 发布:水杯 软件测试问题 编辑:程序博客网 时间:2024/05/16 19:03

1.创建    删除    数据表    数据库

create   /  drop      database/table    数据库/数据表;

2.显示表的关键字:

desc 表名;

3.删除之前判断表是否存在:

drop table if exists  表名;

0 0