一. 表和数据准备 1. 数据地址 链接:https://pan.baidu.com/s/1crr8B9bD_0Phfm99vLCWjg 提取码:5jzw 2. 建表语句 create table if not exists dept ( deptno int, dname string, loc int ) row format delimited fields terminated by '\t'; create table if not exists emp (empno int, en…