创建数据库:
create database chengji;
创建表:
mysql> create table person (id int(3) auto_increment not null primary key, xm varchar(10),xb varchar(2),csny date);
插入数据:
mysql>insert into person values(110,’wq’,’m’,’99′);
mysql>insert into person values(111,’如’,’m’,’99′);
mysql>insert into person values(112,xh1’,’m’,’99′);
查询: