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

Baseline definition in your study

3 Answers   Accenture, Quintiles,


What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?

0 Answers   Quintiles,


Difference between SAS STATA & SPSS?

0 Answers  


Can you execute a macro within a macro? Describe. : sas-macro

0 Answers  


what is the use of sas management console? : Sas-di

0 Answers  


what has been your most common programming mistake? : Sas programming

0 Answers  


what is Global Symbol table and Local symbol table?

4 Answers   CitiGroup,


What are the data types does SAS contain?

0 Answers  


how can you sort the dataset having millions of OBS(instead of sort procedure?

4 Answers   EXL,


how can u extract,transform and loading?

2 Answers   CitiGroup,


how does sas handle missing values in an update? : Sas programming

1 Answers  


Do you use PROC REPORT or PROC TABULATE? Which do you prefer? Explain.

3 Answers  


Categories