├── 1.查找最晚入职员工的所有信息.md ├── 10.获取所有非manager的员工emp_no.md ├── 11.获取所有员工当前的manager.md ├── 12.获取所有部门中当前员工薪水最高的相关信息.md ├── 13.从titles表获取按照title进行分组.md ├── 14.从titles表获取按照title进行分组2.md ├── 15.查找employees表.md ├── 16.统计出当前各个title类型对应的员工当前薪水对应的平均工资.md ├── 17.获取当前薪水第二多的员工的emp_no以及其对应的薪水salary.md ├── 18.获取当前薪水第二多的员工的emp_no以及其对应的薪水salary2.md ├── 19.查找所有员工的last_name和first_name以及对应的dept_name.md ├── 2.查找入职员工时间排名倒数第三的员工所有信息.md ├── 20.查找员工编号emp_no为10001其自入职以来的薪水salary涨幅值growth.md ├── 21.查找所有员工自入职以来的薪水涨幅情况.md ├── 22.统计各个部门对应员工涨幅的次数总和.md ├── 23.对所有员工的薪水按照salary进行按照1-N的排名.md ├── 24.获取所有非manager员工当前的薪水情况.md ├── 25.获取员工其当前的薪水比其manager当前薪水还高的相关信息.md ├── 26.汇总各个部门当前员工的title类型的分配数目.md ├── 27.给出每个员工每年薪水涨幅超过5000的员工编号emp_no.md ├── 28.查找描述信息中包括robot的电影对应的分类名称以及电影数目.md ├── 29.使用join查询方式找出没有分类的电影id以及名称.md ├── 3.查找当前薪水详情以及部门编号dept_no.md ├── 30.使用子查询.md ├── 31.获取select对应的执行计划.md ├── 32.将employees表的所有员工的last_name和first_name拼接起来作为Name.md ├── 33.创建一个actor表.md ├── 34.批量插入数据.md ├── 35.批量插入数据不使用replace操作.md ├── 36.创建一个actor_name表.md ├── 37.对first_name创建唯一索引uniq_idx_firstname.md ├── 38.针对actor表创建视图actor_name_view.md ├── 39.针对上面的salaries表emp_no字段创建索引idx_emp_no.md ├── 4.查找所有已经分配部门的员工的last_name和first_name.md ├── 40.在last_update后面新增加一列名字为create_date.md ├── 41.构造一个触发器audit_log.md ├── 42.删除emp_no重复的记录只保留最小的id对应的记录.md ├── 43.将所有to_date为9999-01-01的全部更新为NULL.md ├── 44.将id=5以及emp_no=10001的行数据替换成id=5以及emp_no=10005.md ├── 45.将titles_test表名修改为titles_2017.md ├── 46.在audit表上创建外键约束其emp_no对应employees_test表的主键id.md ├── 47.如何获取emp_v和employees有相同的数据no.md ├── 48.将所有获取奖金的员工当前的薪水增加10%.md ├── 49.针对库中的所有表生成对应的SQL语句.md ├── 5.查找所有员工的last_name和first_name以及对应部门编号dept_no.md ├── 50.将employees表中的所有员工的last_name和first_name通过连接起来.md ├── 51.查找字符串.md ├── 52.获取Employees中的first_name.md ├── 53.按照dept_no进行汇总.md ├── 54.查找排除当前最大最小salary之后的员工的平均工资avg_salary.md ├── 55.分页查询employees表.md ├── 56.获取所有员工的emp_no.md ├── 57.使用含有关键字exists查找未分配具体部门的员工的所有信息.md ├── 58.获取employees中的行数据且这些行也存在于emp_v中.md ├── 59.获取有奖金的员工相关信息.md ├── 6.查找所有员工入职时候的薪水情况.md ├── 60.统计salary的累计和running_total.md ├── 61.对于employees表中给出奇数行的first_name.md ├── 7.查找薪水涨幅超过15次的员工号emp_no以及其对应的涨幅次数t.md ├── 8.找出所有员工当前薪水salary情况.md ├── 9.获取所有部门当前manager的当前薪水情况.md ├── LICENSE └── README.md /1.查找最晚入职员工的所有信息.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/1.查找最晚入职员工的所有信息.md -------------------------------------------------------------------------------- /10.获取所有非manager的员工emp_no.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/10.获取所有非manager的员工emp_no.md -------------------------------------------------------------------------------- /11.获取所有员工当前的manager.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/11.获取所有员工当前的manager.md -------------------------------------------------------------------------------- /12.获取所有部门中当前员工薪水最高的相关信息.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/12.获取所有部门中当前员工薪水最高的相关信息.md -------------------------------------------------------------------------------- /13.从titles表获取按照title进行分组.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/13.从titles表获取按照title进行分组.md -------------------------------------------------------------------------------- /14.从titles表获取按照title进行分组2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/14.从titles表获取按照title进行分组2.md -------------------------------------------------------------------------------- /15.查找employees表.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/15.查找employees表.md -------------------------------------------------------------------------------- /16.统计出当前各个title类型对应的员工当前薪水对应的平均工资.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/16.统计出当前各个title类型对应的员工当前薪水对应的平均工资.md -------------------------------------------------------------------------------- /17.获取当前薪水第二多的员工的emp_no以及其对应的薪水salary.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/17.获取当前薪水第二多的员工的emp_no以及其对应的薪水salary.md -------------------------------------------------------------------------------- /18.获取当前薪水第二多的员工的emp_no以及其对应的薪水salary2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/18.获取当前薪水第二多的员工的emp_no以及其对应的薪水salary2.md -------------------------------------------------------------------------------- /19.查找所有员工的last_name和first_name以及对应的dept_name.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/19.查找所有员工的last_name和first_name以及对应的dept_name.md -------------------------------------------------------------------------------- /2.查找入职员工时间排名倒数第三的员工所有信息.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/2.查找入职员工时间排名倒数第三的员工所有信息.md -------------------------------------------------------------------------------- /20.查找员工编号emp_no为10001其自入职以来的薪水salary涨幅值growth.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/20.查找员工编号emp_no为10001其自入职以来的薪水salary涨幅值growth.md -------------------------------------------------------------------------------- /21.查找所有员工自入职以来的薪水涨幅情况.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/21.查找所有员工自入职以来的薪水涨幅情况.md -------------------------------------------------------------------------------- /22.统计各个部门对应员工涨幅的次数总和.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/22.统计各个部门对应员工涨幅的次数总和.md -------------------------------------------------------------------------------- /23.对所有员工的薪水按照salary进行按照1-N的排名.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/23.对所有员工的薪水按照salary进行按照1-N的排名.md -------------------------------------------------------------------------------- /24.获取所有非manager员工当前的薪水情况.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/24.获取所有非manager员工当前的薪水情况.md -------------------------------------------------------------------------------- /25.获取员工其当前的薪水比其manager当前薪水还高的相关信息.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/25.获取员工其当前的薪水比其manager当前薪水还高的相关信息.md -------------------------------------------------------------------------------- /26.汇总各个部门当前员工的title类型的分配数目.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/26.汇总各个部门当前员工的title类型的分配数目.md -------------------------------------------------------------------------------- /27.给出每个员工每年薪水涨幅超过5000的员工编号emp_no.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/27.给出每个员工每年薪水涨幅超过5000的员工编号emp_no.md -------------------------------------------------------------------------------- /28.查找描述信息中包括robot的电影对应的分类名称以及电影数目.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/28.查找描述信息中包括robot的电影对应的分类名称以及电影数目.md -------------------------------------------------------------------------------- /29.使用join查询方式找出没有分类的电影id以及名称.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/29.使用join查询方式找出没有分类的电影id以及名称.md -------------------------------------------------------------------------------- /3.查找当前薪水详情以及部门编号dept_no.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/3.查找当前薪水详情以及部门编号dept_no.md -------------------------------------------------------------------------------- /30.使用子查询.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/30.使用子查询.md -------------------------------------------------------------------------------- /31.获取select对应的执行计划.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/31.获取select对应的执行计划.md -------------------------------------------------------------------------------- /32.将employees表的所有员工的last_name和first_name拼接起来作为Name.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/32.将employees表的所有员工的last_name和first_name拼接起来作为Name.md -------------------------------------------------------------------------------- /33.创建一个actor表.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/33.创建一个actor表.md -------------------------------------------------------------------------------- /34.批量插入数据.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/34.批量插入数据.md -------------------------------------------------------------------------------- /35.批量插入数据不使用replace操作.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/35.批量插入数据不使用replace操作.md -------------------------------------------------------------------------------- /36.创建一个actor_name表.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/36.创建一个actor_name表.md -------------------------------------------------------------------------------- /37.对first_name创建唯一索引uniq_idx_firstname.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/37.对first_name创建唯一索引uniq_idx_firstname.md -------------------------------------------------------------------------------- /38.针对actor表创建视图actor_name_view.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/38.针对actor表创建视图actor_name_view.md -------------------------------------------------------------------------------- /39.针对上面的salaries表emp_no字段创建索引idx_emp_no.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/39.针对上面的salaries表emp_no字段创建索引idx_emp_no.md -------------------------------------------------------------------------------- /4.查找所有已经分配部门的员工的last_name和first_name.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/4.查找所有已经分配部门的员工的last_name和first_name.md -------------------------------------------------------------------------------- /40.在last_update后面新增加一列名字为create_date.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/40.在last_update后面新增加一列名字为create_date.md -------------------------------------------------------------------------------- /41.构造一个触发器audit_log.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/41.构造一个触发器audit_log.md -------------------------------------------------------------------------------- /42.删除emp_no重复的记录只保留最小的id对应的记录.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/42.删除emp_no重复的记录只保留最小的id对应的记录.md -------------------------------------------------------------------------------- /43.将所有to_date为9999-01-01的全部更新为NULL.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/43.将所有to_date为9999-01-01的全部更新为NULL.md -------------------------------------------------------------------------------- /44.将id=5以及emp_no=10001的行数据替换成id=5以及emp_no=10005.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/44.将id=5以及emp_no=10001的行数据替换成id=5以及emp_no=10005.md -------------------------------------------------------------------------------- /45.将titles_test表名修改为titles_2017.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/45.将titles_test表名修改为titles_2017.md -------------------------------------------------------------------------------- /46.在audit表上创建外键约束其emp_no对应employees_test表的主键id.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/46.在audit表上创建外键约束其emp_no对应employees_test表的主键id.md -------------------------------------------------------------------------------- /47.如何获取emp_v和employees有相同的数据no.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/47.如何获取emp_v和employees有相同的数据no.md -------------------------------------------------------------------------------- /48.将所有获取奖金的员工当前的薪水增加10%.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/48.将所有获取奖金的员工当前的薪水增加10%.md -------------------------------------------------------------------------------- /49.针对库中的所有表生成对应的SQL语句.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/49.针对库中的所有表生成对应的SQL语句.md -------------------------------------------------------------------------------- /5.查找所有员工的last_name和first_name以及对应部门编号dept_no.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/5.查找所有员工的last_name和first_name以及对应部门编号dept_no.md -------------------------------------------------------------------------------- /50.将employees表中的所有员工的last_name和first_name通过连接起来.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/50.将employees表中的所有员工的last_name和first_name通过连接起来.md -------------------------------------------------------------------------------- /51.查找字符串.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/51.查找字符串.md -------------------------------------------------------------------------------- /52.获取Employees中的first_name.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/52.获取Employees中的first_name.md -------------------------------------------------------------------------------- /53.按照dept_no进行汇总.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/53.按照dept_no进行汇总.md -------------------------------------------------------------------------------- /54.查找排除当前最大最小salary之后的员工的平均工资avg_salary.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/54.查找排除当前最大最小salary之后的员工的平均工资avg_salary.md -------------------------------------------------------------------------------- /55.分页查询employees表.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/55.分页查询employees表.md -------------------------------------------------------------------------------- /56.获取所有员工的emp_no.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/56.获取所有员工的emp_no.md -------------------------------------------------------------------------------- /57.使用含有关键字exists查找未分配具体部门的员工的所有信息.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/57.使用含有关键字exists查找未分配具体部门的员工的所有信息.md -------------------------------------------------------------------------------- /58.获取employees中的行数据且这些行也存在于emp_v中.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/58.获取employees中的行数据且这些行也存在于emp_v中.md -------------------------------------------------------------------------------- /59.获取有奖金的员工相关信息.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/59.获取有奖金的员工相关信息.md -------------------------------------------------------------------------------- /6.查找所有员工入职时候的薪水情况.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/6.查找所有员工入职时候的薪水情况.md -------------------------------------------------------------------------------- /60.统计salary的累计和running_total.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/60.统计salary的累计和running_total.md -------------------------------------------------------------------------------- /61.对于employees表中给出奇数行的first_name.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/61.对于employees表中给出奇数行的first_name.md -------------------------------------------------------------------------------- /7.查找薪水涨幅超过15次的员工号emp_no以及其对应的涨幅次数t.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/7.查找薪水涨幅超过15次的员工号emp_no以及其对应的涨幅次数t.md -------------------------------------------------------------------------------- /8.找出所有员工当前薪水salary情况.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/8.找出所有员工当前薪水salary情况.md -------------------------------------------------------------------------------- /9.获取所有部门当前manager的当前薪水情况.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/9.获取所有部门当前manager的当前薪水情况.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuthus5/Database-SQL-Actual-Combat/HEAD/README.md --------------------------------------------------------------------------------