mycsg.in
SAS
SASnR
Clinical Programming
CRFs
SDTM
ADaM
TFL
Tasks
Macros
QnA
Certification
Resources
Disclaimer
Contact Us
Training
Sign Up
Login
New or returning user — sign in with Google for instant login, no password needed.
Sign in with Google
Maybe later
Quiz title : Using Subqueries
Question 1 of 10
Which PROC SQL query removes duplicate values of MemberType from the query output, so that only the unique values are listed?
proc
sql
nodup;
select
membertype
from
certadv.frequentflyers;
quit
;
proc
sql
;
select
distinct
(membertype)
as
MemberType
from
certadv.frequentflyers;
quit
;
proc
sql
;
select
unique membertype
from
certadv.frequentflyers
group
by
membertype;
quit
;
proc
sql
;
select
distinct
membertype
from
certadv.frequentflyers;
quit
;