数据集a中包含了股票的代码信息变量 code和行业变量ind,数据集 b中包含了股票的代码信息变量 code和股票价格p,A同学想要将两个数据集合并。正确的方式是:
A: data c; merge a b; run;
B: proc sort data=a ;by code; proc sort data=b; by code;run; data c; merge a b; by code; run;
C: data c; set a b; run;
D: data c; merge a b; by code; run;
A: data c; merge a b; run;
B: proc sort data=a ;by code; proc sort data=b; by code;run; data c; merge a b; by code; run;
C: data c; set a b; run;
D: data c; merge a b; by code; run;
举一反三
- 可执行代码(语句)应该在______定义的段中。 A: .stack B: .data C: .code D: .data
- SAS的FREQ过程输出结果如下:变量STYLE的标签为"Style of homes",变量BEDROOMS的标签为"Number of bedrooms",下程序中的哪一个产生了下面显示的输出结果______。[img=254x249]18032802df46410.jpg[/img] A: proc freq data = sasuser.houses; tables style and bedrooms;run; B: proc freq data = sasuser.houses; tables style * bedrooms;run; C: proc freq data = sasuser.houses;tables style , bedrooms;run; D: proc freq data = sasuser.houses;tables style;tables bedrooms;run;
- 属于矩阵式二维条码的是 A: QR Code B: Data Martix C: CODE 49 D: Maxi Code
- 从语法上看,以下语句哪个是正确的?() A: select name,code from zufang where code=’BJYZ91876799’; B: load data local inpath’/data/alldatas’ into table tb4; C: from zufang select name,code where code=’BJYZ91876799’; D: from zufang where code=’BJYZ91876799’ select name,code;
- 在C51中,变量的存储类型有6种,它们是data、(__)、(__)、(__)、(__)和code ;