
Dell Data Science Foundations
Domain 5Objective 5
Describe Advanced SQL Methods: Window Functions, Ordered Aggregates, and MADlib DATA-SCIENCE-FOUNDATIONS Practice Questions (Page 3)
Part of the Advanced Analytics for Big Data - Technology and Tools domain, which accounts for 22% of the DATA-SCIENCE-FOUNDATIONS exam.
22questions here
5free pages
5concepts
22%of the exam
Questions 11–15
- 11
In the query: SELECT ROW_NUMBER() OVER (PARTITION BY department ORDER BY salary DESC) AS rn FROM employees; what does the PARTITION BY department clause do?
Select an answer first - 12
An analyst needs to compute the median salary for each department in a PostgreSQL table. The median must be an interpolated value between two middle values when the department has an even number of employees. Which SQL function should they use?
Select an answer first - 13
A data analyst needs to identify the top 5 products by revenue per category, but the requirement is that if multiple products tie for 5th place, all of them must be included. The analyst also needs to compute the cumulative revenue share for each product within its category. Which approach should they use?
Select an answer first - 14
Which window function would you use to return the value of a column from the row immediately following the current row within the same partition?
Select an answer first - 15
What is the primary purpose of a window function in SQL?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Dell Technologies. “DATA-SCIENCE-FOUNDATIONS” is a trademark of its owner, used for identification only.