MS SQL Server – 89 – OLAP Query Functions MCQ

89 – OLAP Query Functions MCQ

1 / 25

1. What is the primary purpose of the SUM function in OLAP queries in SQL Server?

2 / 25

2. Which OLAP query function is commonly used to calculate the average of a numeric column?

3 / 25

3. In SQL Server, what does the RANK() function do?

4 / 25

4. What is the primary purpose of the NTILE() function in SQL Server?

5 / 25

5. Which OLAP query function is used to assign a rank to each row within a result set, leaving gaps for tied values?

6 / 25

6. In SQL Server, what does the PERCENTILE_CONT() function calculate?

7 / 25

7. Which function in SQL Server is used to calculate the sum of values within a group?

8 / 25

8. What is the purpose of the DENSE_RANK() function in SQL Server?

9 / 25

9. In SQL Server, what does the PERCENT_RANK() function calculate?

10 / 25

10. Which statistical aggregate function in SQL Server returns the variance of a numeric column’s values?

11 / 25

11. What does the COUNT() function do in OLAP queries in SQL Server?

12 / 25

12. In SQL Server, which function returns the standard deviation of a numeric column’s values?

13 / 25

13. What is the purpose of the MEDIAN() function in OLAP queries in SQL Server?

14 / 25

14. In SQL Server, what does the LEAD() function do in OLAP queries?

15 / 25

15. Which statistical aggregate function in SQL Server returns the covariance between two numeric columns?

16 / 25

16. What is the primary purpose of the ROW_NUMBER() function in SQL Server?

17 / 25

17. Which OLAP query function is used to calculate the mode of a numeric column’s values?

18 / 25

18. In SQL Server, what does the LAG() function do in OLAP queries?

19 / 25

19. What is the purpose of the MODE() function in OLAP queries in SQL Server?

20 / 25

20. Which statistical aggregate function in SQL Server returns the correlation coefficient between two numeric columns?

21 / 25

21. What does the COUNT DISTINCT() function do in SQL Server?

22 / 25

22. In SQL Server, what does the FIRST_VALUE() function do in OLAP queries?

23 / 25

23. Which statistical aggregate function in SQL Server returns the sum of the squares of a numeric column’s values?

24 / 25

24. What is the purpose of the PERCENTILE_DISC() function in OLAP queries in SQL Server?

25 / 25

25. In SQL Server, what does the NTH_VALUE() function do in OLAP queries?

Your score is

0%