我必須擺脫對象的,如果它滿足條件。SAS和PROC SQL
DATA:
Name Value1
A 60
A 30
B 70
B 30
C 60
C 50
D 70
D 40
我想如果值= 30,然後兩個線路應在theoutput不來的。
期望outpu是
Name Value1
C 60
C 50
D 70
D 40
我已經寫在PROC SQL代碼爲
proc sql;
create table ck1 as
select * from ip where name in
(select distinct name from ip where value = 30)
order by name, subject, folderseq;
quit;
有啥問題? – Mureinik