mycsg.in
SAS
SASnR
Clinical Programming
CRFs
SDTM
ADaM
TFL
Tasks
Macros
Quizzes
Resources
Disclaimer
Contact Us
Search lessons
Close
×
Search lessons
⚲
Search
Area
All areas
Clear filters
Type at least 3 characters to see matching lessons.
Advertisement
1 / 10
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
;
Saving progress…
My progress
⚑
Something not right with this question?
Report it
Advertisement
Report this question
×
Quiz:
Loading the question…
Question
What's the issue?
The marked correct answer is wrong
Question is unclear / insufficient information
Pick the correct answer
marked correct
Describe the issue
(optional)