A00-212 Exam QuestionsBrowse all questions from this exam

A00-212 Exam - Question 5


This question will ask you to provide a segment of missing code.

The following SAS program submitted:

Which segment of code will successfully run an in-line view?

Show Answer
Correct Answer: CD

The correct segment of code that will successfully run an in-line view must include a SELECT statement that creates a derived table. The correct syntax for an in-line view in SQL involves using the SELECT keyword, followed by the columns to be selected and any necessary grouping. Therefore, the correct answer is the one that includes the SELECT clause properly structured within parentheses. The correct code segment is: ( select dept, max(sal) as maxsal from EMP group by dept ) b.

Discussion

2 comments
Sign in to comment
numanigerioOption: C
Apr 2, 2019

I would say C...the (whole in-line view), instead of leaving apart the SELECT

SugarlipsOption: C
Nov 21, 2019

Answer is C