sas3-q1-ot

Is this your test? Login to manage it. If not, you can create a quiz just like it.

This is a non-interactive preview of the quiz content.

1.
1 point
If you specify the ANY keyword before a subquery, the comparison is true if it is false for any of the values that the subquery returns.
2.
1 point
What column modifier is used to alter the appearance of the values in that column?
3.
1 point
To search for actual percent or underscore characters
in your text using the LIKE operator, you must use an:
4.
1 point
What column modifier is used to alter the appearance of the values in that column?
5.
1 point
Correlated subqueries can be evaluated independently
6.
1 point
The HAVING clause is processed before the GROUP BY clause and determines which groups will be displayed.
7.
1 point
How many tables can be combined using a single inner join?
8.
1 point
Views often save space, because a view is usually quite small compared with the data that it accesses.
9.
1 point
A condition that will evaluate to true if the subquery returns no data.
10.
1 point
Which of the following is not a feature of SELECT statement.
11.
1 point
If the summary function specifies more than one column, the statistic is calculated for the row (using values from the listed columns).
12.
1 point
The IN clause specifies the criteria in outer joins.
13.
1 point
A type of joins that returns only the matching rows
14.
1 point
Correlated subqueries use very few resources and
are inexpensive to execute.
15.
1 point
Full joins include all rows from both tables, even if there are no matching rows in either table.
16.
1 point
In a correlated subquery, the inner query provides information so that the subquery resolves successfully.
17.
1 point
Which of the following is not true regarding subqueries:
18.
1 point
SQL uses set operators to combine tables horizontally.
19.
1 point
When using an asterisk for the select list, you can specify the FEEDBACK option to write the expanded SELECT statement to the SAS log.
20.
1 point
Find the incorrect syntax on the following select statement:
proc sql;
select Employee_ID, Employee_Gender,
Salary,
from orion.Employee_Payroll
where Employee_Gender = 'F'
order by Salary desc;
quit;
21.
1 point
If a summary function specifies only one column name, the statistic is calculated down the column (across rows).
22.
1 point
The EQUAL operator does not accept any expression that resolves to more than a single value.
23.
1 point
Which of these DATA step statements is used to combine tables horizontally?
24.
1 point
Which of the following WHERE clauses correctly selects rows with a Job_Code value that begins with an underscore?
25.
1 point
To eliminate duplicate rows in query results, which keyword should be used:
26.
1 point
To familiarize yourself with the columns in
a table, which statement should be used:
27.
1 point
Which of the following is not true regarding PROC SQL?
28.
1 point
A subquery can return several rows of data, but
must only return values from a single column.
29.
1 point
The COALESCE function returns the value of the first missing argument.
30.
1 point
Inner joins enables a maximum of 256 tables to be joined at the same time
31.
1 point
It is created by placing a query expression in a FROM clause where a table name would normally be used.
32.
1 point
The WHERE clause is processed before a GROUP BY clause and determines which individual rows are available for grouping.
33.
1 point
The COUNT function returns the number of columns returned by a query
34.
1 point
SQL subqueries can return values to be used in
an outer query’s FROM clause.
35.
1 point
To create and populate a table with the rows from
an SQL query, which of the following statement should be used:
36.
1 point
The ALL keyword is true only if the comparison is true
for all returned values.
37.
1 point
A subquery can return several rows of data, but
must only return values from a single column.
38.
1 point
When a SELECT list contains both a column created by a summary function and a column that is not summarized, by default, the summarized data is appended to each row of the original data table (remerged) in order to produce the output.
39.
1 point
Outer joins can only be performed on two table at a time
40.
1 point
Which of the following statements is true when processing an inner join in PROC SQL?
41.
1 point
SQL uses joins to combine tables vertically.
42.
1 point
Left joins include all rows from the second table, even if there are no matching rows in the first table.
43.
1 point
SQL subqueries can return values to be used in
an outer query’s FROM clause.
44.
1 point
Which of these ORDER BY clauses will display the results ordered by decreasing Salary and then by increasing Name?
45.
1 point
Which keyword is used to check the SELECT statement syntax.
46.
1 point
A query corresponds to a single SELECT statement within a DATA step
47.
1 point
Given the following SELECT statement, determine the incorrect syntax.
SELECT a,b,c
FROM tblx
ORDER BY b
WHERE tblx.a > 10;
48.
1 point
What column modifier is used to alter the appearance of the values in that column?
49.
1 point
You cannot use SAS formats and labels to customize
PROC SQL output.
50.
1 point
In an ORDER BY clause, order the query results by specifying the following except for: