select ename from emp
where sal in ((select min(sal) from emp),(select max(sal) from emp));

相关文章: