SAS认证新题型ADVANCE
更新时间:2023-10-04 02:48:01 阅读量: 综合文库 文档下载
Item 1 of 63 Mark item for review
When attempting to minimize memory usage, the most efficient way to do group processing when using the MEANS procedure is to use:
A.
the BY statement.
B.
GROUPBY with the NOTSORTED specification.
C.
the CLASS statement.
D.
multiple WHERE statements.
Item 2 of 63 Mark item for review
The SAS data set WORK.CHECK has a variable named Id_Code in it. Which SQL statement would create an index on this variable?
A.
create index Id_Code on WORK.CHECK;
B.
create index(Id_Code) on WORK.CHECK;
C.
make index=Id_Code from WORK.CHECK;
D.
define index(Id_Code) in WORK.CHECK;
Item 3 of 63 Mark item for review
Given the SAS data sets:
WORK.EMPLOYEE WORK.NEWEMPLOYEE
Name Dept Names Salary -------- ----- -------- ------ Alan Sales Michelle 50000 Michelle Sales Paresh 60000
A SAS program is submitted and
the following is written to the SAS log:
101 proc sql;
102 select dept, name 103 from WORK.EMPLOYEE 104 where name=(select names
from newemployee
where salary > 40000) ERROR: Subquery evaluated to more than one row. 105 ; 106 quit;
What would allow the program to
successfully execute without errors?
A.
Replace the where clause with:
where EMPLOYEE.Name=(select Names delimited with ',' from WORK.NEWEMPLOYEE
where Salary > 40000);
B.
Replace line 104 with:
where EMPLOYEE.Name =ANY (select Names separated with ',' from WORK.NEWEMPLOYEE where Salary > 40000);
C.
Replace the equal sign with the IN operator.
D.
Qualify the column names with the table names.
Item 4 of 63 Mark item for review
Given the SAS data set SASUSER.HIGHWAY:
Steering Seatbelt Speed Status Count -------- -------- ----- ------- ----- absent No 0-29 serious 31 absent No 0-29 not 1419 absent No 30-49 serious 191 absent no 30-49 not 2004 absent no 50+ serious 216
The following SAS program is submitted:
proc sql noprint; select distinct
Speed [_insert_SQL_clause_] from SASUSER.HIGHWAY ; quit;
title1 \ proc print data=SASUSER.HIGHWAY; run;
Which SQL clause stores the text 0-29,30-49,50+ in the macro variable GROUPS?
A.
into &GROUPS
B.
into :GROUPS
C.
into :GROUPS separated by ','
D.
into &GROUPS separated by ','
Item 5 of 63 Mark item for review
The SAS data set WORK.CHECK has an index on the variable Code and the following SAS program is submitted.
proc sort data=WORK.CHECK; by Code; run;
Which describes the result of submitting the SAS program?
A.
The index on Code is deleted.
B.
The index on Code is updated.
C.
The index on Code is uneffected.
D.
The sort does not execute.
Item 6 of 63 Mark item for review
The table WORK.PILOTS contains the following data:
WORK.PILOTS
Id Name Jobcode Salary --- ------ ------- ------ 001 Albert PT1 50000 002 Brenda PT1 70000 003 Carl PT1 60000 004 Donna PT2 80000
005 Edward PT2 90000 006 Flora PT3 100000
The data set was summarized to include average salary based on jobcode:
Jobcode Salary Avg ------- ------ ----- PT1 50000 60000 PT1 70000 60000 PT1 60000 60000 PT2 80000 85000 PT2 90000 85000 PT3 100000 100000
Which SQL statement could NOT generate this result?
A. select
Jobcode, Salary,
avg(Salary) label='Avg' from WORK.PILOTS group by Jobcode order by Id ;
B. select
Jobcode, Salary,
(select avg(Salary)
from WORK.PILOTS as P1
where P1.Jobcode=P2.Jobcode) as Avg from WORK.PILOTS as P2 order by Id ;
C. select
Jobcode, Salary,
正在阅读:
SAS认证新题型ADVANCE10-04
酒店综合管理系统方案设计 精品 - 图文01-11
【精品】描写田园风光的作文合集5篇04-02
数据处理类试题09-18
四川电力系统调度管理规程12-10
华工-管理学原理作业05-11
锅炉引风机振动原因分析及建议08-05
安全事故应急预案09-28
五一促销广告语02-17
两学一做竞赛演讲稿05-29
- 2009中西部家居博览会总体策划
- 2009 Revit 1级工程师学生用
- 天津地铁建设工程试验检测机构管理办法(TJDT-ZY-AQ-29)
- 新四年级数学暑期班第七次教案
- 机械制造企业隐患排查治理检查表 - 图文
- 2008届全国百套高考数学模拟试题分类汇编-103概率与统计解答题 -
- 职场健身防病试题及答案
- Excel操作技巧大全II - --数据输入和编辑技巧
- 南开大学2018春季《行政管理学》离线作业考核答案
- 2015年医师定考简易程序试卷及答案
- 新《预算法》对行政事业单位预算管理的挑战解读
- 轴的课件
- 电动汽车充电桩设计 毕业论文
- 必修2、选修2-1、1-1期末模拟试题2
- 桌面远程运维管理系统实施-可行性研究报告120306
- 西气东输水土保持工程工作总结 - 图文
- 正宁县基本县情及经济社会发展情况简介
- SATWE参数设置(巨详细)
- 儒家法思想研究综述
- 生活家政服务电子商务平台建设运营整合方案书【审报完稿】
- 题型
- ADVANCE
- 认证
- SAS
- 一二年级发散思维及开发智力
- 江苏省南京市2017届中考语文复习散文阅读2
- 2017-2022年中国荷仁豆产业现状深度调查及十三五未来前景预测报告(目录)
- 6-第6章 机件的表达方法 - 图文
- 第37届北京青少年科技创新大赛北京参赛学生获奖名单 - 图文
- 合规岗位资格考试题库-合规风险
- 经营活动综合分析报告编制大纲
- Java语言程序设计 - 2014复习题
- 2013年湖北省普通高等学校招收中等职业学校毕业生统一考试模拟试卷(八)
- 东北话搞笑歇后语
- 安全质量责任追究办法和风险抵押金管理办法(某工程)
- 专科应用文写作复习资料经济应用文写作
- 玻璃安装工艺标准
- 特种设备考试题库23
- 分析实验报告 高效液相色谱
- 江苏省无锡市惠山三校联考2013-2014学年八年级上学期英语期中试题(word版含答案)
- 中国心理学会注册心理督导师名单
- 如何引导大学生树立正确的理想信念
- 2016届高考岳麓版历史一轮复习 第2单元 第1讲 古希腊和古罗马的政治制度 课时提升作业
- 索绪尔