查找出工资等级不为 4 级的员工的员工名字,部门名字,部门位置。
select e.ename, d.dname, d.loc, s.grade from emp e join salgrade s on e.sal between s.losal and s.hisal and s.grade != 4 left join dept d on e.deptno = d.deptno;