Query departments and top earners

Quick Overview

This question evaluates proficiency in relational data manipulation, including multi-table joins, grouping and aggregation to identify departments with multiple employees and top earners, tie-aware per-group selection, and filtering joined contact data.

Query departments and top earners

Company: Microsoft

Role: Data Scientist

Category: Data Manipulation (SQL/Python)

Difficulty: easy

Interview Round: Technical Screen

Overview: This question evaluates proficiency in relational data manipulation, including multi-table joins, grouping and aggregation to identify departments with multiple employees and top earners, tie-aware per-group selection, and filtering joined contact data.

|Home/Data Manipulation (SQL/Python)/Microsoft
Microsoft logo
Microsoft
Apr 1, 2026
easyData ScientistTechnical ScreenData Manipulation (SQL/Python)
22
0
Loading...
Loading comments...