创建两表
create table dept( deptno int,dname string,loc string) row format delimited fields terminated by " "; create table emp(empno int,ename string,job string,mgr int,hiredate date,sal int,comm int,deptno int) row format delimited fields terminated by " ";7369 刘一 职员 7902 1980-12-17 800 null 207499 陈二 推销员 7698 1981-02-20 1600 300 307521 张三 推销员 7698 1981-02-22 1250 500 307566 李四 经理 7839 1981-04-02 2975 null 207654 王五 推销员 7698 1981-09-28 1250 1400 307698 赵六 经理 7839 1981-05-01 2850 null 307782 孙七 经理 7839 1981-06-09 2450 null 107788 周八 分析师 7566 1987-06-13 3000 null 207839 吴九 总裁 null 1981-11-17 5000 null 107844 郑十 推销员 7698 1981-09-08 1500 0 307876 郭十一 职员 7788 1987-06-13 1100 null 2010 财务部 北京20 研发部 上海30 销售部 广州40 行政部 深圳