select avg(mgr) 平均薪水 from scott.emp;
LINQ to SQL 源代码
汇集 LINQ to SQL 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
select max(sal) 最高薪水 from scott.emp;
select mgr, mgr/100,ceil(mgr/100) from scott.emp;
(select deptno from scott.emp) union (select deptno from scott.dept);
select emp.empno,emp.ename,emp.job,emp.sal from scott.emp where sal in (select sal from scott.emp where ename='WARD');
(select deptno from scott.emp) intersect (select deptno from scott.dept);
select emp.empno,emp.ename,emp.job,emp.sal from scott.emp where sal >all(select sal from scott.emp where job='MANAGER');
select emp.empno,emp.ename,emp.job,emp.sal from scott.emp,scott.dept where exists (select * from scott.emp where scott.emp.d…
select emp.empno,emp.ename,emp.job,emp.sal from scott.emp where sal =some(select sal from scott.emp where job='MANAGER');
select emp.empno,emp.ename,emp.job,emp.sal from scott.emp where sal >any(select sal from scott.emp where job='MANAGER');