#多行子查询
#多行比较操作符
/*
IN 等于列表中任意一个
any 需要和单行比较操作符一起使用,
*/
#非法使用子查询
select employee_id,last_name
from employees
where salary in (
select min(salary)
from employees
group by department_id
);
#any/all
#返回其他job_id中比job_id为'IT_PROG'部门任一工资低的员工号
#姓名,job_id以及salary
select employee_id,last_name,job_id,salary
from employees
where job_id<>'IT_PROG'
and salary