05-mysql的基本使用_MySQL
来源:动视网
责编:小采
时间:2020-11-09 19:33:18
05-mysql的基本使用_MySQL
05-mysql的基本使用_MySQL:1.查看数据库,表show databases;show tables;2.使用某一个数据库use mysql;3.创建数据库,表create database test;create table test_student(user_ID int);4.查看表中的内容select * from test_student;5.删除数据库,
导读05-mysql的基本使用_MySQL:1.查看数据库,表show databases;show tables;2.使用某一个数据库use mysql;3.创建数据库,表create database test;create table test_student(user_ID int);4.查看表中的内容select * from test_student;5.删除数据库,

1.查看数据库,表
show databases;
show tables;
2.使用某一个数据库
use mysql;
3.创建数据库,表
create database test;
create table test_student(user_ID int);
4.查看表中的内容
select * from test_student;
5.删除数据库,表
drop database test;
drop table test_student;
05-mysql的基本使用_MySQL
05-mysql的基本使用_MySQL:1.查看数据库,表show databases;show tables;2.使用某一个数据库use mysql;3.创建数据库,表create database test;create table test_student(user_ID int);4.查看表中的内容select * from test_student;5.删除数据库,