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

Answer Posted / rg

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

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you connect the desktop application to metadata server? : sas-grid-administration

581


why is sas considered self-documenting? : Sas programming

682


Tell me more about the parameters in macro? : sas-macro

588


How to test the debugging in sas?

607


What is the use of function Proc summary?

653






Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro

696


Do you need to rearrange the order of the data for the report?

1835


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

558


how does sas handle missing values in sort order? : Sas programming

532


What do you know about sas and what we do? : sas-grid-administration

599


explain what is factor analysis? : Sas-administrator

602


How would you determine the number of missing or nonmissing values in computations?

648


what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming

626


explain the key concept of sas? : Sas-administrator

559


What is the basic syntax style in SAS?

619