1965 Employees With Missing Information
题目描述:
Write an SQL query to report the IDs of all the employees with missing information. The information of an employee is missing if:
The employee’s name is missing, or
The employee’s salary is missing.
Return the result table ordered by employee_id in ascending order.
The query result format is in the following example:
方法1:
主要思路:解题链接汇总
select employee_id
from (select employee_id from Employeesunion all select employee_id from Salaries
)tmp
group by employee_id
having count(*)=1
order by employee_id asc
1965 Employees With Missing Information相关推荐
- 【数据库系统】数据库系统学习与实践系列文章汇总目录(持续更新中)
本文属于「数据库系统」系列文章的汇总目录,这一系列着重于「数据库系统知识的学习与实践」.由于文章内容随时可能发生更新变动,欢迎关注和收藏本文以作备忘.需要特别说明的是,为了透彻理解和全面掌握数据库系统 ...
- MySQL 8.0导入样例数据库employees
1.下载 https://launchpad.net/test-db/employees-db-1/1.0.6 2.导入 [root@node1 app]# cd employees_db/ [roo ...
- 在SQL Server中使用SQL Coalesce函数
This article explores the string manipulation using SQL Coalesce function in SQL Server. 本文探讨了在SQL S ...
- 使用Windows Defender Atp进行威胁狩猎
What Is It? The very thought of "threat hunting" often suggests the dramatized scenes from ...
- 2011年11月CET4
2011年12月大学英语四级真题 Part Ⅰ Writing ...
- 四级真题之2011年6月份
2011年6月大学英语四级真题 PartI Writing ...
- hibernate帮助文档
Hibernate Annotations 参考文档 3.2.0 CR1 目录 前言 1. 翻译说明 2. 版权声明 前言 1. 创建一个注解项目 1.1. 系统需求 1.2. 系统配置 2. 实体B ...
- hibernate参考文档
http://docs.jboss.org/hibernate/annotations/3.4/reference/zh_cn/html_single/#d0e224 Hibernate Annota ...
- RAID和mdadm
软RAID需要内核支持md模块 mdadm可以将任何块设备做成RAID mdadm:模式化命令 创建模式 -C|--create -l|--level=:指定级别 -c|--chunk=:指定数据块大 ...
最新文章
- 初学 Delphi 嵌入汇编[9] - asm 可以代替 begin
- android 关于多任务下载问题
- Hive的基本操作-内置函数
- 腾讯网易禁止未成年人本周六玩游戏
- simpledateformat格式_为什么日期格式化时必须有使用y表示年,而不能用Y?
- 静态初始化--我的理解
- 使用socat实现对asok的远程访问
- 科大讯飞语音识别测试
- 电视盒子 android tv6,【亲测】S905L/S905L-B安卓TV6.0通刷固件
- LabVIEW 2021 工具包
- Python数据挖掘——文本分析
- [wordpress] Easy Custom Auto Excerpt Options 插件头图样式修改
- VR虚拟现实AR增强现实编程(1):VR和AR简介
- IP地址和MAC 地址
- Cleartext HTTP traffic to xxx not permitted解决
- AIOT人工智能物联网+项目实战
- css3立方体实现方式(position+transform)
- 高性能服务器性能影响因素
- 张韶涵《口袋的天空》小提琴谱片段
- 在新版win10上的Java安装教程(全网最全)
热门文章
- hdfs上传文件没有权限写入的问题解决put: Permission denied: user=root, access=WRITE
- centos8 yum安装提示All mirrors were tried
- 软件设计师-JAVA程序设计语言
- B站最受欢迎的Python教程,免费教学视频可以下载了
- 电脑五个神级代码(超实用)
- GEI步态能量图生成
- python3邮件_python3使用SMTP发送简单文本邮件
- java--for循环及相关案例
- Android动画框架(二)----属性动画
- Android 点击事件,如何在界面上或者某个控件上添加点击事件