查询与20号部门某个员工工资相等的员工信息
2015-10-02 10:42
393 查看
select e.id, e.name, e.salary
from employee e
where salary in (select salary from employee a where a.department_id = 20)
from employee e
where salary in (select salary from employee a where a.department_id = 20)
相关文章推荐
- mongodb中如何创建数据库
- 从iOS9,EI Caption和Xcode7的更新中看到什么?
- 异常
- 【总述】软件工程
- nyoj 括号匹配(二) 15 (区间dp) 好题
- 海量数据挖掘MMDS week2: 局部敏感哈希Locality-Sensitive Hashing, LSH
- 由微信推送引发的SQL join语句总结,顺便复习一下下MySQL
- Jpype的使用
- **Palindrome Partitioning
- 黑马程序员-----设计模式
- 研究生第一个月学习y我喜欢看博客总结
- mysql 连接数据库实例java代码
- Tomcat 多实例
- 查询比105号员工工资高的员工的员工号,员工名,员工工资信息
- 数组
- Valid Anagram -- leetcode
- POJ2773(容斥+二分)
- Git 解决冲突
- node起步
- spring源码