单项选择题试将数据集SASHELP.workers第10到15条观测中满足条件 ELECTRIC>260 的观测提取出来,生成新的数据集tmp,以下哪种解法正确?()
A.data tmp;set SASHELP.workers(firstobs=10obs=15);if ELECTRIC>260;run;proc print;run;
B.data tmp;set SASHELP.workers(firstobs=10obs=15);where ELECTRIC>260;run;proc print;run;
C.data tmp;set SASHELP.workers(firstobs=10obs=5);where ELECTRIC>260;run;proc print;run;
D.data tmp;set SASHELP.workers(firstobs=10obs=5);if ELECTRIC>260;run;proc print;run;