打印本文 打印本文 关闭窗口 关闭窗口
mysql中添加数据库
作者:武汉SEO闵涛  文章来源:敏韬网  点击数918  更新时间:2009/4/22 20:54:23  文章录入:mintao  责任编辑:mintao
drop database if exists school;
create database school;
use school;
create table teacher

   id int(3) auto_increment not null primary key,
   name char(10) not null,
   address varchar(50) default “深圳“,
   year date

);

insert into teacher values('''''''',''''glchang'''',''''深圳一中'''',''''1988-12-10'''');

insert into teacher values('''''''',''''wangfei'''',''''枣庄三中'''',''''1977-12-10'''');

打印本文 打印本文 关闭窗口 关闭窗口