Quiz-summary
0 of 8 questions completed
Questions:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
Information
Are you ready to test your knowledge of Grouping Sets with the following quiz?
This week’s test has a difficulty level of: MODERATE
Quiz subject: Grouping Sets
Good luck!
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading...
You must sign in or sign up to start the quiz.
You have to finish following quiz, to start this quiz:
Results
0 of 8 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 points, (0)
Categories
- Not categorized 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- Answered
- Review
-
Question 1 of 8
1. Question
The GROUPING and GROUPING_ID functions helps you to:
Correct
Incorrect
-
Question 2 of 8
2. Question
What does the GROUP BY CUBE clause return?
Correct
Incorrect
-
Question 3 of 8
3. Question
Which of the following is correct about the GROUP BY ROLLUP clause?
Correct
Incorrect
-
Question 4 of 8
4. Question
Which of the following is true regarding NULL from a result set where multiple grouping sets were used?
Correct
Incorrect
-
Question 5 of 8
5. Question
Will the following statement execute successfully?
SELECT [Category] ,[Subcategory] ,COUNT(*) AS [NoProducts] FROM [dbo].[ProductStock] GROUP BY [Category];
Correct
Incorrect
-
Question 6 of 8
6. Question
Which option enables you to apply filters on grouped data?
Correct
Incorrect
-
Question 7 of 8
7. Question
The following query:
SELECT [Name], [Year], SUM([Sales])
FROM [dbo].[Product]
GROUP BY GROUPING SETS (([Name]), ([Year]))
Is equivalent with?
Correct
Incorrect
-
Question 8 of 8
8. Question
Which of the following functions can be used with a GROUP BY clause?
Correct
Incorrect