1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
create table employee(
num int primary key auto_increment,
name varchar (20),
age int ,
sex varchar (4),
homeaddr varchar (50)
);
insert into employee( name ,age,sex,homeaddr) values ( '張三' ,26, '男' , '浙江杭州' );
insert into employee( name ,age,sex,homeaddr) values ( '李四' ,24, '女' , '浙江寧波' );
insert into employee( name ,age,sex,homeaddr) values ( '王五' ,29, '男' , '浙江台州' );
insert into employee( name ,age,sex,homeaddr) values ( '趙六' ,21, '男' , '浙江湖州' );
insert into employee( name ,age,sex,homeaddr) values ( '孫悟空' ,21, '男' , '浙江寧波' );
insert into employee( name ,age,sex,homeaddr) values ( '豬八戒' ,22, '男' , '浙江寧波' );
insert into employee( name ,age) values ( '唐僧' ,21);
|