前置准备:myemployees 中各张表的数据解释
myemployees/employees 员工表
- employee_id 员工编号
- first_name 名
- last_name 姓
- email 邮箱
- phone_number 电话号码
- job_id 工种编号
- salary 月薪
- commission_pct 奖金率
- manager_id 上级领导的员工编号
- department_id 部门编号
- hiredate 入职日期
myemployees/departments 部门表
- department_id 部门编号
- department_name 部门名称
- manager_id 部门领导的员工编号
- location_id 位置编号
myemployees/locations 位置表
- location_id 位置编号
- street_address 街道
- postal_code 邮编
- city 城市
- state_province 州
- country_id 国家编号
myemployees/jobs 工种
- job_id 工种编号
- job_title 工种名称
- min_salary 最低工资
- max_salary 最高工资