;
use bigData;
# 部门表
create table dept(
id int unsigned primary key auto_increment,
deptno mediumint...null default ""
);
# 员工表
create table emp(
id int unsigned primary key auto_increment,
empno mediumint...default 0,
ename varchar(20) not null default "",
job varchar(9) not null default "",
mgr mediumint...,
hiredate date not null,
sal decimal(7,2) not null,
comm decimal(7,2) not null,
deptno mediumint