全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
1436 0
2017-09-19
The following data set work.in has an index in the variable id and the following SAS program is submitted:
为什么这道题的答案是:
The index on id is deleted
我查了一下dictionary 这个library,发现index ID还是存在的啊?求大神解答。。。

/*******************************************************
options msglevel=i;
data in(index=(id));
input id dept $ var_1 var_2;
cards;
123 math 20 30
121 art         40 10
124 science        30 50
;
data im;
set in(keep =id var_1 var_2 rename=(id=idnum));
Total=sum(of var_1 var_2);
/*by idnum;*/
run;


proc sql;
create table inlook as
select *from dictionary.indexes
where libname='WORK';
quit;

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群