how to remove the duplicates by proc sql?

Answers were Sorted based on User's Feedback



how to remove the duplicates by proc sql? ..

Answer / gaurav gupta

SELECT DISTINCT statement in PROC SQL

Is This Answer Correct ?    20 Yes 3 No

how to remove the duplicates by proc sql? ..

Answer / xxx

proc sql;
select id where id(select id from tablename)group by id
having id>1;
quit;

Is This Answer Correct ?    1 Yes 10 No

Post New Answer

More SAS Interview Questions

Mention some common errors that are usually committed in sas programming.

0 Answers  


If i doest required Cumilative frequency in my table, generated by using PROC FREQ what i had to do?

8 Answers   HCL,


How we can create SAS USER DEFINED CODE?

0 Answers  


what type of graphs we will create(for 2+years candidates)?

0 Answers   Accenture, Icon,


What happens in the following code, if u type 8 instead of *? proc sql noprint; create table abc as select 8 from lib.abc; quit;

3 Answers  


which stats created by proc means that are not created by proc summary or vice versa?

2 Answers   GSK,


i have a dataset with 100000 records. i want 100 records from that dataset and create a dataset.we need to pick the observations random order like 100obs,500obs,1020obs,1890obs,2565obs like that i need 100 obs in random order? how can we create this one?

5 Answers   L&T,


what are system option ? give few examples ? what are dataset options and dataset statements ? if there is a keep option and keep statement ? which one is executed first ? Difference between a WHERE statement and IF statement ? what is the advantage of using WHERE statement option on the dataset ?

1 Answers   Satyam,


what is operational data and operational system? : Sas-di

0 Answers  


how to assign a macro value to a variable?

8 Answers   CitiGroup,


What are pdv and it functions?

0 Answers  


Explain the special input delimiters used in sas programming.

0 Answers  


Categories