This Advanced SAS certification quiz assesses key skills in SQL query formulation within SAS, focusing on data manipulation, query optimization, and understanding of database interactions crucial for advanced data analysis roles.
Where address is missing
Where address not exists
Where address is null
Both a and c
Rate this question:
Proc sql; select name, spent, 120-spent as calculated Balance rom Company.Absences where balance <= 0;
Proc sql; select name, spent, 120-spent as Balance from Company.Absences where calculated balance <= 0;
Proc sql; select name, spent, 120-spent as Balance from Company.Absences where balance <= 0;
Proc sql; select name, spent, 120-spent as calculated Balance from Company.Absences where calculated balance <= 0;
Rate this question:
150
7
4
1
Rate this question:
Proc sql; select name, checkedout from library.circulation where * in (select * from library.volunteers);
Proc sql; select name, checkedout from library.circulation where name in (select name from library.volunteers);
Proc sql; select name from library.volunteers where name, checkedout in (select name, checkedout from library.circulation);
Proc sql; select name, checkedout from library.circulation where name in (select name from library.volunteers;);
Rate this question:
Returns a single value to the outer query.
Contains at least one summary function.
Executes independently of the outer query.
Requires only a single value to be passed to it by the outer query.
Rate this question:
The query syntax is not valid.
The outer query must pass values to the subquery before the subquery can return values to the outer query.
The outer query must pass values to the subquery before the subquery can return values to the outer query.
After the query is submitted, the SAS log will indicate whether the query has valid syntax.
Rate this question:
All donors whose rows do not contain any missing values.
All donors who made a contribution in the current year.
All donors who did not make a contribution in the current year.
Ll donors whose current year's donation in Charity.Current has not yet been added to Total in Charity.Donors.
Rate this question:
When PROC SQL remerges data, it combines data from two tables.
By using data remerging, PROC SQL can avoid making two passes through the data.
When PROC SQL remerges data, it displays a related message in the SAS log.
PROC SQL does not attempt to remerge data unless a subquery is used.
No. This query will not run because a HAVING clause cannot contain a summary function.
No. This query will not run because the HAVING clause must include the CALCULATED keyword before the summary function.
No. Because there is no GROUP BY clause, the HAVING clause treats the entire table as one group.
Yes
Rate this question:
Quiz Review Timeline (Updated): Mar 20, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.