How to get the repeated values by using sql in sas ?

Answers were Sorted based on User's Feedback



How to get the repeated values by using sql in sas ?..

Answer / rg

proc sql;
select name, count(*)
from data
group by name
having count(*) > 1;
quit;

Is This Answer Correct ?    0 Yes 0 No

How to get the repeated values by using sql in sas ?..

Answer / naveen

proc sql;
select name count
from
group by name;
quit;

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More SAS Interview Questions

What are the prime responsibilities of data integration administrator? : Sas-di

0 Answers  


what kind of variables are collected in AE dataset?

3 Answers   Accenture, Quintiles, SAS,


how do you debug and test your sas programs? : Sas programming

0 Answers  


What procedure you used to calculate p-value?

2 Answers   Accenture, Quintiles,


how to generate the test data in sas without input data? : Sas-administrator

0 Answers  






How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro

0 Answers  


How does the internal authentication work in sas? : sas-grid-administration

0 Answers  


explain the main difference between the nodup and nodupkey options? : Sas-administrator

0 Answers  


Name statements that are execution only.

14 Answers   Accenture,


Name some categories in sas 9? : sas-grid-administration

0 Answers  


Describe a time when you were really stuck on a problem and how you solved it?

1 Answers  


What is SAS Information Map Studio and its purpose ?

2 Answers   SAS, TCS,


Categories