--创建表
create table employee(
userId number not null,
userName
varchar2(50),
pwd varchar2(50),
email varchar2(100),
clazz
number
);
--向表中插入数据
INSERT INTO employee VALUES (‘1‘, ‘zhangsan‘, ‘zhangsan‘,
‘[email protected]‘, ‘1‘);
INSERT INTO employee VALUES (‘2‘, ‘lisi‘, ‘lisi‘,
‘[email protected]‘, ‘2‘);
INSERT INTO employee VALUES (‘3‘, ‘wangwu‘, ‘wangwu‘,
‘[email protected]‘, ‘3‘);
INSERT INTO employee VALUES (‘4‘, ‘lingjie‘,
‘lingjie‘, ‘[email protected]‘, ‘4‘);
INSERT INTO employee VALUES (‘5‘,
‘taoconghai‘, ‘taoconghai‘, ‘[email protected]‘, ‘4‘);
INSERT INTO employee
VALUES (‘6‘, ‘lingjie‘, ‘lingjie‘, ‘[email protected]‘, ‘3‘);
INSERT INTO
employee VALUES (‘7‘, ‘lingyuan‘, ‘lingyuan‘, ‘[email protected]‘,
‘1‘);
INSERT INTO employee VALUES (‘8‘, ‘lingjie‘, ‘lingjie‘,
‘[email protected]‘, ‘2‘);
INSERT INTO employee VALUES (‘9‘, ‘linghui‘,
‘linghui‘, ‘[email protected]‘, ‘4‘);
INSERT INTO employee VALUES (‘10‘,
‘zhangguangyuan‘, ‘zhangguangyuan‘, ‘[email protected]‘, ‘1‘);
INSERT
INTO employee VALUES (‘11‘, ‘zhanglongfei‘, ‘zhanglongfei‘,
‘[email protected]‘, ‘4‘);
INSERT INTO employee VALUES (‘12‘, ‘liuxiaoqi‘,
‘liuxiaoqi‘, ‘[email protected]‘, ‘3‘);
INSERT INTO employee VALUES (‘13‘,
‘liufeifei‘, ‘liufeifei‘, ‘[email protected]‘, ‘2‘);
INSERT INTO employee
VALUES (‘14‘, ‘liujie‘, ‘liujie‘, ‘[email protected]‘, ‘2‘);
INSERT INTO
employee VALUES (‘15‘, ‘zhuwencheng‘, ‘zhuwencheng‘, ‘[email protected]‘,
‘3‘);
INSERT INTO employee VALUES (‘16‘, ‘yangyong‘, ‘yangyong‘,
‘[email protected]‘, ‘2‘);
INSERT INTO employee VALUES (‘17‘, ‘zhangxuan‘,
‘zhangxuan‘, ‘[email protected]‘, ‘3‘);
INSERT INTO employee VALUES (‘18‘,
‘zhoushu‘, ‘zhoushu‘, ‘[email protected]‘, ‘1‘);
INSERT INTO employee VALUES
(‘19‘, ‘xujiangbo‘, ‘xujiangbo‘, ‘[email protected]‘, ‘4‘);
INSERT INTO
employee VALUES (‘20‘, ‘huangjunfeng‘, ‘huangjunfeng‘,
‘[email protected]‘, ‘2‘);
INSERT INTO employee VALUES (‘21‘,
‘wangwei‘, ‘wangwei‘, ‘[email protected]‘, ‘2‘);
INSERT INTO employee VALUES
(‘22‘, ‘caogaowang‘, ‘caogaowang‘, ‘[email protected]‘, ‘4‘);
INSERT INTO
employee VALUES (‘23‘, ‘wangfang‘, ‘wangfang‘, ‘[email protected]‘,
‘3‘);
INSERT INTO employee VALUES (‘24‘, ‘lingjie‘, ‘lingjie‘,
‘[email protected]‘, ‘4‘);
INSERT INTO employee VALUES (‘25‘, ‘lingjie‘,
‘lingjie‘, ‘[email protected]‘, ‘1‘);
INSERT INTO employee VALUES (‘26‘,
‘lingjie‘, ‘lingjie‘, ‘[email protected]‘, ‘4‘);
INSERT INTO employee
VALUES (‘27‘, ‘lingjie‘, ‘lingjie‘, ‘[email protected]‘, ‘1‘);
INSERT INTO
employee VALUES (‘28‘, ‘lingjie‘, ‘lingjie‘, ‘[email protected]‘,
‘4‘);
INSERT INTO employee VALUES (‘29‘, ‘lingjie‘, ‘lingjie‘,
‘[email protected]‘, ‘2‘);
INSERT INTO employee VALUES (‘30‘, ‘lingjie‘,
‘lingjie‘, ‘[email protected]‘, ‘3‘);
INSERT INTO employee VALUES (‘31‘,
‘lingjie‘, ‘lingjie‘, ‘[email protected]‘, ‘4‘);
INSERT INTO employee VALUES
(‘32‘, ‘lingjie‘, ‘lingjie‘, ‘[email protected]‘, ‘4‘);
INSERT INTO
employee VALUES (‘33‘, ‘liwei‘, ‘liwei‘, ‘[email protected]‘, ‘4‘);
INSERT INTO
employee VALUES (‘34‘, ‘fuwanyin‘, ‘fuwanyin‘, ‘[email protected]‘,
‘1‘);
INSERT INTO employee VALUES (‘35‘, ‘gaobaoqiang‘, ‘gaobaoqiang‘,
‘[email protected]‘, ‘4‘);
INSERT INTO employee VALUES (‘36‘,
‘wangliqiu‘, ‘wangliqiu‘, ‘[email protected]‘, ‘1‘);
INSERT INTO employee
VALUES (‘37‘, ‘wangliang‘, ‘wangliang‘, ‘[email protected]‘, ‘4‘);
INSERT
INTO employee VALUES (‘38‘, ‘taojingying‘, ‘taojingying‘, ‘[email protected]‘,
‘2‘);
INSERT INTO employee VALUES (‘39‘, ‘wanglihua‘, ‘wanglihua‘,
‘[email protected]‘, ‘3‘);
INSERT INTO employee VALUES (‘40‘, ‘zhujie‘,
‘zhujie‘, ‘[email protected]‘, ‘4‘);
INSERT INTO employee VALUES (‘41‘,
‘wangruihuan‘, ‘wangruihuan‘, ‘[email protected]‘, ‘4‘);
INSERT INTO
employee VALUES (‘42‘, ‘marry‘, ‘marry‘, ‘[email protected]‘, ‘2‘);
commit;
--提交