# ALL, ANY# 查询比FORD 和 MARTIN底薪都高的员工信息SELECTenameFROM t_empWHERE sal > ALL(SELECT sal FROM t_emp WHERE ename IN ("FORD","MARTIN"));SELECTenameFROM t_emp e JOIN ( SELECTMAX(sal) as min_sal FROM t_emp WHERE ename IN ("FORD","MARTIN") ) sWHERE e.sal > s.min_sal;# 查询比FORD 和 MARTIN 其中一个底薪都高的员工信息SELECTenameFROM t_emp WHERE sal > ANY(SELECT sal FROM t_emp WHERE ename IN ("FORD","MARTIN"));