数据库一些面试题

1.部门平均薪水的等级(两张表关联)面试 select deptno ,avg_sal ,grade  from函数        (select deptno,avg(sal) avg_sal from emp group by deptno) t索引                   join salgrade s on (t.avg_sal between s.losal and s.hi
相关文章
相关标签/搜索