MySQL 常用命令
时间:2021-07-01 10:21:17
帮助过:1人阅读
2. net start mysql; //启动MySQL3. create database student; //创建数据库4. show databases; //查看所有数据库5. use student; //使用当前数据库6. describe student; //查看表头详情信息7. mysql> create table students //创建数据表 -> ( -> id int unsigned not null auto_increment primary key, -> name char(8) not null, -> set char(4) not null, -> age tinyint unsigned not null, -> tel char(13) null default "-");8. show tables; //查看所有表MySQL 常用命令
标签: