Accenture: Find the second-highest salary and compare approaches that scale.
The compensation team has exported the current employee salary data for an upcoming pay review, and wants a quick analysis before sharing the numbers. This lookup gets re-run every cycle and against much larger datasets, so they care not only about the number itself but about how it is calculated.
accenture_employees.csv has one row per employee:
employee_idfull_nametitle - job titlesalaryhire_dateYou can solve this in Python, SQL, or a mix of both — StrataScratch notebooks support both languages in the same notebook.
Assume this data comes directly from the HR system and hasn't been cleaned, so review it carefully before relying on the numbers. When something looks off, work out what it is and decide how to handle it; when a definition or a final decision is genuinely ambiguous, choose a reasonable option and explain why. There's often more than one valid way to compute a result, so explain the approach you take and the reasoning behind your choices.
What's assessed: your results, and how clearly you explain what you see in the data and justify the choices you make.