由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - SAS ADV 63题中第9题的答案疑问
相关主题
ADV SAS 63题中的第23题关于SAS ADV
SAS ADV 63题中第53题答案疑问SAS ADV in OCT 2010
sas adv感觉答案不对啊问几道SAS ADV真题。多谢!
我也来攒个RP,谈谈SAS ADVANCE。SAS ADV考题和online tutorial的联系紧密么
SAS ADV passed!!!SAS adv 考证问题,望指教
一个不小心 Adv考了个100SAS ADV证书对找工作帮助大吗?
SQL 有证书考试吗?求助,SAS ADV 130 中94
SAS Base + Advance exam + 一些经验SAS ADV 归来,顺利通过。
相关话题的讨论汇总
话题: rep话题: ship话题: cost话题: smith话题: min
进入Statistics版参与讨论
1 (共1页)
l***y
发帖数: 184
1
9. Given the SAS data set WORK.TRANSACT:
Rep Cost Ship
----- ----- -----
SMITH 200 50
SMITH 400 20
JONES 100 10
SMITH 600 100
JONES 100 5
The following output is desired:
Rep
----- ----
JONES 105
SMITH 250
Which SQL statement was used?
A. select
rep,
min(Cost+Ship)
from WORK.TRANSACT
order by Rep
;
B. select
Rep,
min(Cost,Ship) as Min
from WORK.TRANSACT
summary by Rep
order by Rep
;
C. select
Rep,
min(Cost,Ship)
from WORK.TRANSACT
group by Rep
order by Rep
;
(改成min(sum(cost,ship))才对)
D. select
Rep,
min(Cost+Ship)
from WORK.TRANSACT
group by Rep
order by Rep
答案是D, 可是没有对Rep 进行分组啊?是怎么回事呢?
1 (共1页)
进入Statistics版参与讨论
相关主题
SAS ADV 归来,顺利通过。SAS ADV passed!!!
2013 January 刚考过SAS Adv一个不小心 Adv考了个100
请教两个SAS ADV问题SQL 有证书考试吗?
ADV 63题中的45题SAS Base + Advance exam + 一些经验
ADV SAS 63题中的第23题关于SAS ADV
SAS ADV 63题中第53题答案疑问SAS ADV in OCT 2010
sas adv感觉答案不对啊问几道SAS ADV真题。多谢!
我也来攒个RP,谈谈SAS ADVANCE。SAS ADV考题和online tutorial的联系紧密么
相关话题的讨论汇总
话题: rep话题: ship话题: cost话题: smith话题: min