Mysql
mysql -uroot -p
show databases;
use 名字
show tables;
select * from student;
create database 名字;
use 名字;
(create database 名字2 default character set gb2312;)
(drop database 名字;)
create table 名字(
xh char(4),
xm char(3),
csrq date,
nl int
);
desc 名字;
select *
from 名字;
insert into 名字
values('0115','明','2003-3-3',20);
select *
from 名字;