sas筛选数据
- 作者: 我2心
- 来源: 51数据库
- 2020-10-02
proc sql;
create table test as select *,count(*) as N from your_table group by year;
run;
data out_table;
set test;
if count(*) > 1 and 0v ne 1 then delete;
run;
刚才你问过了啊,你用if语句就可以了
create table test as select *,count(*) as N from your_table group by year;
run;
data out_table;
set test;
if count(*) > 1 and 0v ne 1 then delete;
run;
刚才你问过了啊,你用if语句就可以了
推荐阅读