
show databases;

use 库名;

show tables;

show tables from 库名

select database();

create table 名字(
id int,
name varchar(20));
desc 表名;

select * from 表名;

insert into 表名 (a,b,…,f) values(1,2,3,…,7);
update 库名 set name=‘lilei’ where id=1;
delete from 库名 where id=1;
select version();

exit