主要参考资料来源于以下两个经验贴:
1. mikeleung110 米粮包,准备资料非常丰富,63题,质素机经和最强机经强烈推荐!
[終極原創]2016超高質機經+心得SAS BASE 98% +ADVANCED 95%+ BUSINESS ANALYST 90%
2. 梦之啸 更新版米粮包,63题有更详细的解释,以及质素机经的2018更新版!
[学习分享] 【究极更新】2018 SAS全球认证 (BASE 100% + ADVACNCED 98%) 经验+最强机经更新
考完BASE一周之后又继续准备ADV。ADV准备了一周左右,周中下班后的晚上3小时以及周末。这个准备时长对于通过考试是没有问题的!想要过的话,只看63题和机经就好。对于63题的每一种变体都要理解,万变不离其宗。prep guide 花时间看一下第三第四章,理解horizontally 和 veritically combine tables,63题里有很多此类题型。
63题:
1. 没考
2. 原题
3. 题目有点变化,答案一样
4. 变形1, 选into :type1- :type3, :sale1- :sale3 注意冒号位置
变形2, 选0-29, 30-49, 50+
5. 没考
6. 没考
7. 没考
8. 没考
9. 变形,选没有group by的
10. 变形,11和5, 选2
11. 变形,句子重组,意思不变
12. 没考
13. 没考
14. 原题
15. 没考
16. 变形,intersect corr
17. 没考
18. 没考
19. 原题
20. 没考
21. 原题
22. 原题
23. 原题
24. 没考
25. 变成no,选2
26. 没考
27. 原题
28. 没考
29. 原题
30. 原题
31. 没考
32. 没考
33. 没考
34. 没考
35. 没考
36. 没考
37. 原题
38. 4和10互换,选0
39. 换成bicycles
40. 原题
41. 变形,给了log问option, 答案一样
42. 没考
43. 变形,Jones 100, 选having avg(Cost) < (select avg(Cost) from WORK.ONE)
44. 没考
45. 变形,选项顺序变化,最后选1和2
46. 没考
47. 变形,换成Monday
48. 变形,want换成了别的词
49. 原题
50. 没考
51. 没考
52. 没考
53. 变形,SASFILE多选,reduce I/O 和 reduce CPU usage
54. 变形,答案还是clothes
55. 变形,选left join
56. 没考
57. 没考
58. 原题
59. 没考
60. 变形,选proc print only
61. 没考
62. 变形,变成in 和 out,答案把inside 和 outside改成in 和 out
63. 变形,选weight height name age
填空答案:
1. %put _global_
2. out union corr
3. avg = 7
质素机经2018更新版里考到的:
选择compress= YES
1. 选择 cmplib
2. two years after this year is 2013+1+1, check_year is 1
3. keep=options in set statement
4. i j output
1 1 1
1 2 2
2 1 .
2 2 .
5. pagesize info,选contents
6. proc sort data = xxx
out = work.sorted(drop=xxx) nodupkey;
by order_var;
run;
7. proc means data = finance.newdata
8. 选full join + coalesce
9. call symputx('Num', California)
11. right join后选output=400的
12. 指定specific index 选IDXNAME
13. 选Charlie Omar
16. 选where
17. 选%nrstr的
19. product totalsales
1001 500
1002 .
1003 200
20. 选select ...from dictionary.tables where libname =.... 我应该是错了这道题,选了dictionary.columns
23. 也是官网的sample questions 的一道原题:
Question 5
Given the following SQL procedure output:
Table | Physical Obs % Deleted 424 5.0% 424 5.0% |
EMPLOYEE_ADDRESSES EMPLOYEE_PAYROLL |
Which SQL query will produce a report for tables in the ORION library which have had at least 5% of
their physical rows deleted, as shown above?
A. select MEMNAME 'Table', NOBS 'Physical Obs'
, DELOBS/NOBS '% Deleted' format=percent6.1
from dictionary.tables
where LIBNAME='ORION' AND DELOBS/NOBS >= .05;
B. select Table_Name, Num_Rows 'Physical Obs'
, Deleted_Rows/Num_Rows '% Deleted' format=percent6.1
from dictionary.DBA_TABLES
where TABLESPACE_NAME='ORION'
AND Deleted_Rows/Num_Rows >= .05;
C. select MEMNAME 'Table', NLOBS 'Physical Obs'
, DELOBS/NLOBS LABEL='% Deleted' format=percent6.1
from dictionary.tables
where LIBNAME='ORION' AND DELOBS/NLOBS >= .05;
D. select MEMNAME 'Table', NOBS 'Physical Obs'
, DELOBS/NOBS LABEL='% Deleted' format=percent6.1
from dictionary.members
where LIBNAME='ORION' AND DELOBS/NOBS >= .05;
correct_answer = "A"
24. 选one file has large amount of rows data, another one only has small number of data, index is used as key
25. index that disqualify most variables
26. if active_date is missing and (ina and inb)
27. 注意select 括号位置
28. index centiles can be updated