【发布时间】:2015-11-01 09:16:11
【问题描述】:
编写查询以获得如下结果
emp
-----------------------------
empno ename dept sal
------------------------------
1001 a cse 1000
1211 b cse 5000
---------------
sum 6000
---------------
3511 x ese 4000
1471 y ese 3000
----------------
sum 7000
总和 ------------------------------------------- 13000
【问题讨论】:
-
你必须编写一些代码并尝试一些东西,然后提交你累了的代码并寻求帮助。
-
在报告中选择 * from emp where mgr is not null order by sal 计算报告中断时的 sal 总和